17
0

Accepting request 920183 from devel:languages:python

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

OBS-URL: https://build.opensuse.org/request/show/920183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonpatch?expand=0&rev=25
This commit is contained in:
2021-09-21 19:12:21 +00:00
committed by Git OBS Bridge
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.
-------------------------------------------------------------------
Tue May 18 21:54:01 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -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