%global pyver 3.15 %global python python%{pyver} %global puresitedir %{_prefix}/lib/python%{pyver}/site-packages Name: python%{pyver}-jsonschema Version: 4.26.0 Release: 1%{?dist} Summary: An implementation of JSON Schema validation for Python License: MIT URL: https://github.com/python-jsonschema/jsonschema Source0: https://files.pythonhosted.org/packages/source/j/jsonschema/jsonschema-4.26.0.tar.gz BuildArch: noarch BuildRequires: python%{pyver} BuildRequires: python%{pyver}-libs BuildRequires: python%{pyver}-hatchling BuildRequires: python%{pyver}-hatch-vcs BuildRequires: python%{pyver}-hatch-fancy-pypi-readme BuildRequires: python%{pyver}-setuptools-scm BuildRequires: python%{pyver}-pip BuildRequires: python%{pyver}-installer BuildRequires: python%{pyver}-trove-classifiers Requires: python%{pyver}-libs Requires: python%{pyver}-attrs Requires: python%{pyver}-jsonschema-specifications Requires: python%{pyver}-referencing Requires: python%{pyver}-rpds-py %description jsonschema is an implementation of the JSON Schema specification for Python. %prep %autosetup -n jsonschema-%{version} %build SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %{python} -m pip wheel --no-deps --no-build-isolation -w dist . %install %{python} -m installer --destdir=%{buildroot} dist/*.whl %files %license COPYING %{_bindir}/jsonschema %{puresitedir}/jsonschema/ %{puresitedir}/jsonschema-%{version}.dist-info/ %changelog * Thu Jul 09 2026 Yonghang Wang - 4.26.0-1%{?dist} - Build for al2023