replace nose2-python3_version with nose2

This commit is contained in:
wang--ge 2023-01-10 19:47:20 +08:00
parent b24ac9a3b8
commit 25c895080e

View File

@ -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