From 15db72e733f5c678f8bbe30a80ff8e076d3009a4 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Tue, 27 Feb 2024 16:20:54 +0800 Subject: [PATCH] Do not pack open-source test case files --- numpy.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/numpy.spec b/numpy.spec index 07797a4..193742b 100644 --- a/numpy.spec +++ b/numpy.spec @@ -2,7 +2,7 @@ Name: numpy Version: 1.21.4 -Release: 7 +Release: 8 Epoch: 1 Summary: A fast multidimensional array facility for Python @@ -101,15 +101,23 @@ popd &> /dev/null %{python3_sitearch}/%{name}/* %{python3_sitearch}/%{name}-*.egg-info %exclude %{python3_sitearch}/%{name}/LICENSE.txt +%exclude %{python3_sitearch}/%{name}/tests/ +%exclude %{python3_sitearch}/%{name}/*/tests/ %files -n python3-numpy-f2py %{_bindir}/f2py %{_bindir}/f2py3 %{_bindir}/f2py3.* %{python3_sitearch}/%{name}/f2py - +%exclude %{python3_sitearch}/%{name}/f2py/tests/ %changelog +* Tue Feb 27 2024 shixuantong - 1:1.21.4-8 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:Do not pack open-source test case files + * Sat Dec 24 2022 zhuofeng - 1:1.21.4-7 - Type:bugfix - CVE:NA -- Gitee