diff --git a/python-fasteners.spec b/python-fasteners.spec index aa3b3500772bee0572243630ba2340a20407de9d..514b5ccdda337de953b579b6a39af12fcd52e5c3 100644 --- a/python-fasteners.spec +++ b/python-fasteners.spec @@ -1,14 +1,10 @@ %global pypi_name fasteners -#%%if 0%{?rhel} >= 8 %bcond_with pytests -#%%else -#%%bcond_without pytests -#%%endif Name: python-%{pypi_name} Version: 0.14.1 -Release: 20%{?dist} +Release: 21 Summary: A python package that provides useful locks License: ASL 2.0 @@ -29,7 +25,7 @@ BuildRequires: python3-six BuildRequires: python3-devel # tests BuildRequires: python3-testtools -BuildRequires: python3-nose +BuildRequires: python3-nose2 Requires: python3-six %description -n python3-%{pypi_name} @@ -48,7 +44,7 @@ A python package that provides useful locks. %py3_install %check -nosetests-%{python3_version} +nose2-%{python3_version} %files -n python3-%{pypi_name} %doc README.rst @@ -58,5 +54,8 @@ nosetests-%{python3_version} %changelog -* Fri Oct 30 2020 jiangxinyu - 0.14.1-21 +* Tue Feb 15 2022 liqiuyu - 0.14.1-21 +- change the BuildRequires:python3-nose to python3-nose2 + +* Fri Oct 30 2020 jiangxinyu - 0.14.1-20 - Init python3-fasteners project