| |
@@ -15,7 +15,7 @@
|
| |
Summary: Platform-independent file locking module
|
| |
Epoch: 1
|
| |
Version: 0.12.2
|
| |
- Release: 6%{?dist}
|
| |
+ Release: 7%{?dist}
|
| |
License: MIT
|
| |
|
| |
URL: https://github.com/openstack/pylockfile
|
| |
@@ -30,7 +30,7 @@
|
| |
BuildRequires: python3dist(sphinx)
|
| |
|
| |
%if %{with tests}
|
| |
- BuildRequires: python3dist(nose)
|
| |
+ BuildRequires: python3dist(nose2)
|
| |
%endif
|
| |
|
| |
%description %{common_description}
|
| |
@@ -71,7 +71,7 @@
|
| |
|
| |
%check
|
| |
%if %{with tests}
|
| |
- PYTHONPATH=$(pwd) nosetests-3
|
| |
+ %{python3} -m nose2
|
| |
%endif
|
| |
|
| |
|
| |
@@ -88,6 +88,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Thu Jun 23 2022 Miro Hrončok <mhroncok@redhat.com> - 1:0.12.2-7
|
| |
+ - Switch the test runner in %%check from nose to nose2
|
| |
+
|
| |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:0.12.2-6
|
| |
- Rebuilt for Python 3.11
|
| |
|
| |
Note that pytest discovers nothing