From 4fb4c9fcf7bda441ad1cc691c5efb176f4182476b5b05768cf3c908c55b1580b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 19 Sep 2021 17:30:43 +0000 Subject: [PATCH] - Don't use python setup.py test expression. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpatch?expand=0&rev=50 --- python-jsonpatch.changes | 5 +++++ python-jsonpatch.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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..8c88859 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -53,7 +53,7 @@ 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 @@ -65,6 +65,6 @@ rm %{buildroot}%{_bindir}/jsondiff %license COPYING %doc AUTHORS README.md %python_alternative %{_bindir}/jsonpatch -%{python_sitelib}/* +%{python_sitelib}/jsonpatch* %changelog