From 2b5392fa9d4b4753d079ab976b4f366e3299213c Mon Sep 17 00:00:00 2001 From: zhangruifang2020 Date: Mon, 24 Oct 2022 15:04:54 +0800 Subject: [PATCH] Do not pack open-source test case files --- python-jsonschema.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 4788c40..d46cec1 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -4,7 +4,7 @@ jsonschema is JSON Schema validator currently based on http://tools.ietf.org/htm Name: python-%{pypi_name} Version: 3.2.0 -Release: 1 +Release: 2 Summary: An implementation of JSON Schema validation for Python License: MIT URL: http://pypi.python.org/pypi/jsonschema @@ -51,12 +51,16 @@ Summary: An implementation of JSON Schema validation for Python %{python3 %license COPYING %{_bindir}/jsonschema %{python3_sitelib}/%{pypi_name}/ +%exclude %{python3_sitelib}/%{pypi_name}/%{pypi_name}/tests/ %{python3_sitelib}/*.egg-info %files help %doc README.rst PKG-INFO %changelog +* Mon Oct 24 2022 zhangruifang - 3.2.0-2 +- Do not pack open-source test case files + * Wed Jul 29 2020 jinzhimin - 3.2.0-1 - update to 3.2.0 -- Gitee