From 1853a5406ff84766781aac74ceb8cbe42f28583a Mon Sep 17 00:00:00 2001 From: liqiuyu Date: Tue, 15 Feb 2022 10:49:12 +0800 Subject: [PATCH] change the BuildRequires:python3-nose to python3-nose2 (cherry picked from commit 549a4ee9ebec5a41f5c27f238f1930f1fd150467) --- python-fasteners.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/python-fasteners.spec b/python-fasteners.spec index aa3b350..514b5cc 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 -- Gitee