diff --git a/python-jsonpatch.changes b/python-jsonpatch.changes index 62793f0..70dec2b 100644 --- a/python-jsonpatch.changes +++ b/python-jsonpatch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 17 21:02:26 UTC 2021 - Matej Cepl + +- Don't use python setup.py test expression. + ------------------------------------------------------------------- Tue May 18 21:54:01 UTC 2021 - Dirk Müller diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec index 7f5eea3..78d4753 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -53,18 +53,19 @@ Python module to apply JSON-Patches (according to RFC 6902). rm %{buildroot}%{_bindir}/jsondiff %check -%python_exec tests.py +%pyunittest -v tests %post %python_install_alternative jsonpatch -%preun +%postun %python_uninstall_alternative jsonpatch %files %{python_files} %license COPYING %doc AUTHORS README.md %python_alternative %{_bindir}/jsonpatch -%{python_sitelib}/* +%{python_sitelib}/jsonpatch* +%pycache_only %{python_sitelib}/__pycache__/jsonpatch*.pyc %changelog