!11 update to 4.0.1
From: @zhuofeng6 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
59924d216d
Binary file not shown.
BIN
jsonschema-4.0.1.tar.gz
Normal file
BIN
jsonschema-4.0.1.tar.gz
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user