fix build failed

This commit is contained in:
wangjiang 2022-01-05 19:52:48 +08:00
parent 7531da7987
commit 86dc0674ef

View File

@ -1,6 +1,6 @@
Name: python-ordered-set
Version: 4.0.2
Release: 1
Release: 2
Summary: A mutable data structure
License: MIT
URL: https://github.com/LuminosoInsight/ordered-set
@ -16,7 +16,7 @@ can be looked up.
%package -n python3-ordered-set
Summary: ordered-set for python3
%{?python_provide:%python_provide python2-ordered-set}
BuildRequires: python3-devel python3-setuptools python3-nose python3-pytest
BuildRequires: python3-devel python3-setuptools python3-pytest
%description -n python3-ordered-set
Ordered-set for python3.
@ -31,7 +31,7 @@ Ordered-set for python3.
%py3_install
%check
%{__python3} setup.py nosetests
%{__python3} -m pytest
%pre
@ -49,6 +49,9 @@ Ordered-set for python3.
%{python3_sitelib}/__pycache__/ordered_set.*
%changelog
* Wed Jan 5 2022 wangjiang <wangjiang37@huawei.com> - 4.0.2-2
- fix build failed
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
- Package update to 4.0.2