%global pyver 3.15 %global python python%{pyver} %global puresitedir %{_prefix}/lib/python%{pyver}/site-packages Name: python%{pyver}-jsonpatch Version: 1.33 Release: 1%{?dist} Summary: Applying JSON Patches (RFC 6902) License: BSD-3-Clause URL: https://github.com/stefankoegl/python-json-patch Source0: https://files.pythonhosted.org/packages/source/j/jsonpatch/jsonpatch-%{version}.tar.gz BuildArch: noarch BuildRequires: python%{pyver} BuildRequires: python%{pyver}-libs BuildRequires: python%{pyver}-setuptools BuildRequires: python%{pyver}-wheel BuildRequires: python%{pyver}-pip BuildRequires: python%{pyver}-installer Requires: python%{pyver}-libs Requires: python%{pyver}-jsonpointer %description Library to apply JSON Patches (RFC 6902). %prep %autosetup -n jsonpatch-%{version} %build %{python} -m pip wheel --no-deps --no-build-isolation -w dist . %install %{python} -m installer --destdir=%{buildroot} dist/*.whl %files %license LICENSE %{_bindir}/jsondiff %{_bindir}/jsonpatch %{puresitedir}/jsonpatch.py %{puresitedir}/__pycache__/jsonpatch* %{puresitedir}/jsonpatch-%{version}.dist-info/ %changelog * Thu Jul 09 2026 Yonghang Wang - 1.33-1%{?dist} - Build for al2023