From b09651ba625887212983e746c819892683a31fcb Mon Sep 17 00:00:00 2001 From: shixuantong Date: Thu, 1 Feb 2024 16:20:44 +0800 Subject: [PATCH] Do not pack test case files --- python-ecdsa.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-ecdsa.spec b/python-ecdsa.spec index a9b2151..919a375 100644 --- a/python-ecdsa.spec +++ b/python-ecdsa.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-ecdsa Version: 0.18.0 -Release: 1 +Release: 2 Summary: ECDSA cryptographic signature library License: MIT URL: http://github.com/tlsfuzzer/python-ecdsa @@ -82,11 +82,16 @@ mv %{buildroot}/doclist.lst . %files -n python3-ecdsa -f filelist.lst %dir %{python3_sitelib}/* +%exclude %{python3_sitelib}/ecdsa/test_* +%exclude %{python3_sitelib}/ecdsa/__pycache__/test_* %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Feb 01 2024 shixuantong - 0.18.0-2 +- Do not pack test case files + * Thu Aug 04 2022 liqiuyu - 0.18.0-1 - update version to 0.18.0 -- Gitee