!12 fix build fail for python3.10

From: @tong_1001
Reviewed-by: @hanxinke
Signed-off-by: @hanxinke
This commit is contained in:
openeuler-ci-bot 2021-12-06 06:18:25 +00:00 committed by Gitee
commit cba296ae87

View File

@ -1,6 +1,6 @@
Name: python-productmd
Version: 1.30
Release: 1
Release: 2
Summary: Python library providing parsers for metadata
License: LGPLv2+
URL: https://github.com/release-engineering/productmd
@ -53,10 +53,12 @@ sed -i "s/generic_os/%{_vendor}/g" productmd/treeinfo.py
%files -n python3-productmd
%license LICENSE AUTHORS
%{python3_sitelib}/productmd/
%{python3_sitelib}/productmd-%{version}-py?.?.egg-info
%{python3_sitelib}/productmd*
%changelog
* Sat Dec 04 2021 shixuantong <shixuantong@huawei.com> - 1.30-2
- fix build fail for python3.10
* Tue Feb 2 2021 shangyibin <shangyibin1@huawei.com> - 1.30-1
- Upgrade to version 1.30