!11 [sync] PR-9: change the BuildRequires:python3-nose to python3-nose2
From: @openeuler-sync-bot Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
e206984ad5
@ -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 <jiangxinyu@kylinos.cn> - 0.14.1-21
|
||||
* Tue Feb 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.14.1-21
|
||||
- change the BuildRequires:python3-nose to python3-nose2
|
||||
|
||||
* Fri Oct 30 2020 jiangxinyu <jiangxinyu@kylinos.cn> - 0.14.1-20
|
||||
- Init python3-fasteners project
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user