From 70f40c88cc761bac090e477eff2f2b075eae6a2c Mon Sep 17 00:00:00 2001 From: rwx403335 Date: Wed, 25 May 2022 15:03:34 +0800 Subject: [PATCH] replace nosetests with pytest and remove useless python3-nose --- python-ordered-set.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-ordered-set.spec b/python-ordered-set.spec index b0be4bc..9bd0ce8 100644 --- a/python-ordered-set.spec +++ b/python-ordered-set.spec @@ -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 - 4.0.2-2 +- replace nosetests with pytest and remove useless python3-nose + * Sat Jul 25 2020 tianwei - 4.0.2-1 - Package update to 4.0.2