diff --git a/python-magic.changes b/python-magic.changes index 714421b..47373d8 100644 --- a/python-magic.changes +++ b/python-magic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 9 14:18:25 UTC 2024 - Matej Cepl + +- Don't use `setup.py test`, that is now not allowed. + ------------------------------------------------------------------- Thu May 4 14:15:38 UTC 2023 - Frederic Crozat diff --git a/python-magic.spec b/python-magic.spec index ddcd9d7..20f684e 100644 --- a/python-magic.spec +++ b/python-magic.spec @@ -60,9 +60,7 @@ popd export LC_ALL=C.UTF-8 pushd python %python_flavored_alternatives -%{python_expand # indicate a writeable .pth directory for tests -python%{$python_version} setup.py test -} +%pyunittest -v tests popd %files %{python_files}