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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user