replace nosetests with pytest and remove useless python3-nose
This commit is contained in:
parent
7531da7987
commit
70f40c88cc
@ -1,6 +1,6 @@
|
|||||||
Name: python-ordered-set
|
Name: python-ordered-set
|
||||||
Version: 4.0.2
|
Version: 4.0.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A mutable data structure
|
Summary: A mutable data structure
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/LuminosoInsight/ordered-set
|
URL: https://github.com/LuminosoInsight/ordered-set
|
||||||
@ -16,7 +16,7 @@ can be looked up.
|
|||||||
%package -n python3-ordered-set
|
%package -n python3-ordered-set
|
||||||
Summary: ordered-set for python3
|
Summary: ordered-set for python3
|
||||||
%{?python_provide:%python_provide python2-ordered-set}
|
%{?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
|
%description -n python3-ordered-set
|
||||||
Ordered-set for python3.
|
Ordered-set for python3.
|
||||||
@ -31,7 +31,7 @@ Ordered-set for python3.
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py nosetests
|
%{__python3} -m pytest
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
@ -49,6 +49,9 @@ Ordered-set for python3.
|
|||||||
%{python3_sitelib}/__pycache__/ordered_set.*
|
%{python3_sitelib}/__pycache__/ordered_set.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 25 2020 tianwei <tianwei12m@huawei.com> - 4.0.2-1
|
||||||
- Package update to 4.0.2
|
- Package update to 4.0.2
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user