!7 Replace nose2-python_version with nose2 due to python-nose2 updated to version 0.12.0
From: @wang--ge Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
f6884a3bf4
@ -2,7 +2,7 @@
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.8.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Parameterized testing with any Python test framework
|
||||
|
||||
License: BSD-2-Clause
|
||||
@ -42,7 +42,7 @@ Python 3 version.
|
||||
%check
|
||||
sed -i 's|^import mock|from unittest import mock|' parameterized/test.py
|
||||
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
||||
nose2-%{python3_version} -v
|
||||
nose2 -v
|
||||
py.test-%{python3_version} -v parameterized/test.py
|
||||
%{__python3} -m unittest -v parameterized.test
|
||||
|
||||
@ -53,6 +53,9 @@ py.test-%{python3_version} -v parameterized/test.py
|
||||
%{python3_sitelib}/%{srcname}/
|
||||
|
||||
%changelog
|
||||
* Tue Jan 10 2023 Ge Wang <wangge20@h-partners.com> - 0.8.1-3
|
||||
- Replace nose2-%{python3_version} with nose2 due to python-nose2 updated to version 0.12.0
|
||||
|
||||
* Mon May 9 2022 yaoxin <yaoxin30@h-partners.com> - 0.8.1-2
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user