Do not pack open-source test case files

This commit is contained in:
zhangruifang2020 2022-10-24 15:04:54 +08:00
parent 6edb4d76ce
commit 2b5392fa9d

View File

@ -4,7 +4,7 @@ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/htm
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 3.2.0 Version: 3.2.0
Release: 1 Release: 2
Summary: An implementation of JSON Schema validation for Python Summary: An implementation of JSON Schema validation for Python
License: MIT License: MIT
URL: http://pypi.python.org/pypi/jsonschema URL: http://pypi.python.org/pypi/jsonschema
@ -51,12 +51,16 @@ Summary: An implementation of JSON Schema validation for Python %{python3
%license COPYING %license COPYING
%{_bindir}/jsonschema %{_bindir}/jsonschema
%{python3_sitelib}/%{pypi_name}/ %{python3_sitelib}/%{pypi_name}/
%exclude %{python3_sitelib}/%{pypi_name}/%{pypi_name}/tests/
%{python3_sitelib}/*.egg-info %{python3_sitelib}/*.egg-info
%files help %files help
%doc README.rst PKG-INFO %doc README.rst PKG-INFO
%changelog %changelog
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 3.2.0-2
- Do not pack open-source test case files
* Wed Jul 29 2020 jinzhimin<jinzhimin2@huawei.com> - 3.2.0-1 * Wed Jul 29 2020 jinzhimin<jinzhimin2@huawei.com> - 3.2.0-1
- update to 3.2.0 - update to 3.2.0