From b985f67bf721e82ccc851b41b297711cfd968557 Mon Sep 17 00:00:00 2001 From: Thomas Crain Date: Wed, 16 Feb 2022 16:38:05 -0800 Subject: [PATCH] Upgrade python-jsonpatch to 1.32 (#2188) --- .../python-jsonpatch.signatures.json | 4 ++-- SPECS/python-jsonpatch/python-jsonpatch.spec | 21 ++++++++++++------- cgmanifest.json | 4 ++-- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/SPECS/python-jsonpatch/python-jsonpatch.signatures.json b/SPECS/python-jsonpatch/python-jsonpatch.signatures.json index 897d9f6520..b9bab0520e 100644 --- a/SPECS/python-jsonpatch/python-jsonpatch.signatures.json +++ b/SPECS/python-jsonpatch/python-jsonpatch.signatures.json @@ -1,5 +1,5 @@ { "Signatures": { - "jsonpatch-1.23.tar.gz": "49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9" + "python-json-patch-1.32.tar.gz": "d721555fc702d33c9955ce372c5e59e5a38b2e15bee966bb01617afc79f19c78" } -} \ No newline at end of file +} diff --git a/SPECS/python-jsonpatch/python-jsonpatch.spec b/SPECS/python-jsonpatch/python-jsonpatch.spec index b1d49e4c7f..5d3149bdc0 100644 --- a/SPECS/python-jsonpatch/python-jsonpatch.spec +++ b/SPECS/python-jsonpatch/python-jsonpatch.spec @@ -1,14 +1,16 @@ +%define jsonpointer_min_ver 1.9 Summary: Applying JSON Patches in Python Name: python-jsonpatch -Version: 1.23 -Release: 5%{?dist} +Version: 1.32 +Release: 1%{?dist} License: BSD Vendor: Microsoft Corporation Distribution: Mariner Group: Development/Languages/Python URL: https://pypi.python.org/pypi/jsonpatch -#Source0: https://github.com/stefankoegl/python-json-patch/archive/v%{version}.tar.gz -Source0: https://files.pythonhosted.org/packages/9a/7d/bcf203d81939420e1aaf7478a3efce1efb8ccb4d047a33cb85d7f96d775e/jsonpatch-%{version}.tar.gz +Source0: https://github.com/stefankoegl/python-json-patch/archive/refs/tags/v%{version}.tar.gz#/python-json-patch-%{version}.tar.gz +BuildRequires: python3-devel +BuildRequires: python3-jsonpointer >= %{jsonpointer_min_ver} BuildArch: noarch %description @@ -16,15 +18,14 @@ Library to apply JSON Patches according to RFC 6902. %package -n python3-jsonpatch Summary: Applying JSON Patches in Python -BuildRequires: python3-devel -BuildRequires: python3-jsonpointer -Requires: python3-jsonpointer +Requires: python3 +Requires: python3-jsonpointer >= %{jsonpointer_min_ver} %description -n python3-jsonpatch Library to apply JSON Patches according to RFC 6902. %prep -%autosetup -n jsonpatch-%{version} +%autosetup -n python-json-patch-%{version} %build %py3_build @@ -47,6 +48,10 @@ ln -s jsonpatch %{buildroot}%{_bindir}/jsonpatch3 %{_bindir}/jsonpatch3 %changelog +* Thu Feb 10 2022 Thomas Crain - 1.32-1 +- Upgrade to latest upstream version +- Use github source tarball + * Wed Oct 20 2021 Thomas Crain - 1.23-5 - Add license to python3 package - Remove python2 package diff --git a/cgmanifest.json b/cgmanifest.json index 91dcf1cc15..7d928cea45 100644 --- a/cgmanifest.json +++ b/cgmanifest.json @@ -23154,8 +23154,8 @@ "type": "other", "other": { "name": "python-jsonpatch", - "version": "1.23", - "downloadUrl": "https://github.com/stefankoegl/python-json-patch/archive/v1.23.tar.gz" + "version": "1.32", + "downloadUrl": "https://github.com/stefankoegl/python-json-patch/archive/refs/tags/v1.32.tar.gz" } } },