diff --git a/jsonschema-4.0.1.tar.gz b/jsonschema-4.0.1.tar.gz deleted file mode 100644 index 429c34a..0000000 Binary files a/jsonschema-4.0.1.tar.gz and /dev/null differ diff --git a/jsonschema-4.19.2.tar.gz b/jsonschema-4.19.2.tar.gz new file mode 100644 index 0000000..8156712 Binary files /dev/null and b/jsonschema-4.19.2.tar.gz differ diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 51d7338..bfb7263 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -3,15 +3,17 @@ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03 Name: python-%{pypi_name} -Version: 4.0.1 +Version: 4.19.2 Release: 1 Summary: An implementation of JSON Schema validation for Python License: MIT URL: http://pypi.python.org/pypi/jsonschema -Source0: https://files.pythonhosted.org/packages/97/e6/314e86934570970658bdcffd4aa5bb0376a9d97a8e43971740292c3c0054/jsonschema-4.0.1.tar.gz +Source0: https://files.pythonhosted.org/packages/95/18/618159fb2efbe3fb2cd32b16c40278954cde94744957734ef0482286a052/jsonschema-4.19.2.tar.gz BuildArch: noarch BuildRequires: python3-devel python3-setuptools python3-setuptools_scm +BuildRequires: python3-pbr python3-pip python3-wheel +BuildRequires: python3-hatchling python3-hatch-vcs python3-hatch-fancy-pypi-readme # test requirements %bcond_without tests @@ -35,31 +37,31 @@ Summary: An implementation of JSON Schema validation for Python %{python3 %prep %autosetup -n %{pypi_name}-%{version} -p1 -touch setup.py -echo "from setuptools import setup" > setup.py -echo "setup(use_scm_version=True)" >> setup.py %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %if %{without tests} %check -%{__python3} setup.py test --test-suite=jsonschema.tests +%pytest %endif %files -n python%{python3_pkgversion}-%{pypi_name} %license COPYING %{_bindir}/jsonschema %{python3_sitelib}/%{pypi_name}/ -%{python3_sitelib}/*.egg-info +%{python3_sitelib}/%{pypi_name}*.dist-info %files help %doc README.rst PKG-INFO %changelog +* Thu Nov 2 2023 Dongxing Wang - 4.19.2-1 +- upgrade to version 4.19.2 + * Mon Apr 10 2023 zhuofeng - 4.0.1-1 - revert version 4.0.1