Upgrade python-jsonpatch to 1.32 (#2188)

This commit is contained in:
Thomas Crain 2022-02-16 16:38:05 -08:00 коммит произвёл GitHub
Родитель e8db90ebce
Коммит b985f67bf7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 17 добавлений и 12 удалений

Просмотреть файл

@ -1,5 +1,5 @@
{
"Signatures": {
"jsonpatch-1.23.tar.gz": "49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9"
"python-json-patch-1.32.tar.gz": "d721555fc702d33c9955ce372c5e59e5a38b2e15bee966bb01617afc79f19c78"
}
}
}

Просмотреть файл

@ -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 <thcrain@microsoft.com> - 1.32-1
- Upgrade to latest upstream version
- Use github source tarball
* Wed Oct 20 2021 Thomas Crain <thcrain@microsoft.com> - 1.23-5
- Add license to python3 package
- Remove python2 package

Просмотреть файл

@ -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"
}
}
},