diff --git a/jsonschema-3.2.0.tar.gz b/jsonschema-3.2.0.tar.gz deleted file mode 100644 index 9d0724a7e63b7144576cb7fb98cb9e4441855a3f..0000000000000000000000000000000000000000 Binary files a/jsonschema-3.2.0.tar.gz and /dev/null differ diff --git a/jsonschema-4.0.1.tar.gz b/jsonschema-4.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..429c34ab71b5363f28863b8390cc1609425f191d Binary files /dev/null and b/jsonschema-4.0.1.tar.gz differ diff --git a/python-jsonschema.spec b/python-jsonschema.spec index d46cec14d903a1a34cdd15fcf561a85a1a18ccfe..c498311a955320f0b621196eb026c27442022592 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -3,8 +3,8 @@ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03 Name: python-%{pypi_name} -Version: 3.2.0 -Release: 2 +Version: 4.0.1 +Release: 1 Summary: An implementation of JSON Schema validation for Python License: MIT URL: http://pypi.python.org/pypi/jsonschema @@ -35,17 +35,20 @@ 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 %install %py3_install - -%if %{without tests} -%check -%{__python3} setup.py test --test-suite=jsonschema.tests -%endif + +%if %{without tests} +%check +%{__python3} setup.py test --test-suite=jsonschema.tests +%endif %files -n python%{python3_pkgversion}-%{pypi_name} %license COPYING @@ -58,6 +61,9 @@ Summary: An implementation of JSON Schema validation for Python %{python3 %doc README.rst PKG-INFO %changelog +* Thu Nov 03 2022 zhuofeng - 4.0.1-1 +- update to 4.0.1 + * Mon Oct 24 2022 zhangruifang - 3.2.0-2 - Do not pack open-source test case files