replace nosetests with pytest and remove useless python3-nose

This commit is contained in:
rwx403335 2022-05-25 15:03:34 +08:00
parent 7531da7987
commit 70f40c88cc

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 May 25 2022 renhongxun <renhongxun@h-partners.com> - 4.0.2-2
- replace nosetests with pytest and remove useless python3-nose
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
- Package update to 4.0.2