fix build fail for python3.10

This commit is contained in:
shixuantong 2021-12-04 17:42:53 +08:00
parent 00b3401f7f
commit 0c46539038

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