diff --git a/python-lupa.changes b/python-lupa.changes index 9cfdc03..146988d 100644 --- a/python-lupa.changes +++ b/python-lupa.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 25 09:45:01 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest_arch rpm macro + ------------------------------------------------------------------- Thu Jan 7 16:28:30 UTC 2021 - Matej Cepl diff --git a/python-lupa.spec b/python-lupa.spec index 0cf5d5f..84e7121 100644 --- a/python-lupa.spec +++ b/python-lupa.spec @@ -55,7 +55,9 @@ export CFLAGS="-fno-strict-aliasing %{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +mv lupa/tests . +mv lupa lupa.hide +%pyunittest_arch discover -v %files %{python_files} %doc CHANGES.rst README.rst