forked from pool/python-jsonpatch
Accepting request 607073 from devel:languages:python
- Version update to 1.23: * dropped support for python 2.6 * More testcases for various bugs * Various code cleanups - Run tests - Conflict with python-jsondiff as it provides jsondiff binary too OBS-URL: https://build.opensuse.org/request/show/607073 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonpatch?expand=0&rev=16
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f025c28a08ce747429ee746bb21796c3b6417ec82288f8fe6514db7398f2af8a
|
||||
size 16213
|
||||
3
jsonpatch-1.23.tar.gz
Normal file
3
jsonpatch-1.23.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9
|
||||
size 18162
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 14 11:22:40 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Version update to 1.23:
|
||||
* dropped support for python 2.6
|
||||
* More testcases for various bugs
|
||||
* Various code cleanups
|
||||
- Run tests
|
||||
- Conflict with python-jsondiff as it provides jsondiff binary too
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 8 06:27:14 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jsonpatch
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,27 +17,25 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-jsonpatch
|
||||
Version: 1.16
|
||||
Version: 1.23
|
||||
Release: 0
|
||||
Summary: Python - JSON-Patches
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/stefankoegl/python-json-patch
|
||||
Source: https://pypi.io/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
|
||||
URL: https://github.com/stefankoegl/python-json-patch
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module jsonpointer >= 1.9}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module jsonpointer >= 1.9}
|
||||
%endif
|
||||
Requires: python-jsonpointer >= 1.9
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# provides jsondiff binary too
|
||||
Conflicts: python2-jsondiff
|
||||
Conflicts: python3-jsondiff
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -57,6 +55,9 @@ for p in jsonpatch jsondiff ; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||
done
|
||||
|
||||
%check
|
||||
%python_exec tests.py
|
||||
|
||||
%post
|
||||
%python_install_alternative jsonpatch jsondiff
|
||||
|
||||
@@ -64,8 +65,8 @@ done
|
||||
%python_uninstall_alternative jsonpatch jsondiff
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README.md
|
||||
%license COPYING
|
||||
%doc AUTHORS README.md
|
||||
%python_alternative %{_bindir}/jsonpatch
|
||||
%python_alternative %{_bindir}/jsondiff
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user