update to 4.0.1

This commit is contained in:
zhuofeng 2022-11-01 09:15:44 +08:00
parent a419477bd0
commit f5bd0363c6
3 changed files with 13 additions and 7 deletions

Binary file not shown.

BIN
jsonschema-4.0.1.tar.gz Normal file

Binary file not shown.

View File

@ -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 <zhuofeng2@huawei.com> - 4.0.1-1
- update to 4.0.1
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 3.2.0-2
- Do not pack open-source test case files