17
0

- Don't use python setup.py test expression.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpatch?expand=0&rev=48
This commit is contained in:
2021-09-17 21:02:36 +00:00
committed by Git OBS Bridge
parent 79e52652ce
commit aa36130581
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 17 21:02:26 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Don't use python setup.py test expression.
-------------------------------------------------------------------
Sun Aug 22 20:36:59 UTC 2021 - Stefan Schubert <schubi@suse.de>

View File

@@ -71,15 +71,16 @@ Python module to apply JSON-Patches (according to RFC 6902).
rm %{buildroot}%{_bindir}/jsondiff
%check
%python_exec tests.py
%pyunittest -v tests
%if %{with libalternatives}
%pre
# removing old update-alternatives entries
if [ "$1" -gt 0 ] && [ -f %{_sbindir}/update-alternatives ] ; then
%python_uninstall_alternative jsonpatch
fi
fi
%else
%post
%python_install_alternative jsonpatch
@@ -99,6 +100,6 @@ fi
%{_bindir}/jsonpatch
%{_bindir}/jsonpatch-%python_version
%endif
%{python_sitelib}/*
%{python_sitelib}/jsonpatch*
%changelog