From 9c4807623d783a5a7e65b52b31ce743899b880e7 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Thu, 1 Feb 2024 15:26:23 +0800 Subject: [PATCH] Do not pack open-source test case files (cherry picked from commit 8d9bf895d35942d8ec715f58a6e3590a2196dc3a) --- numpy.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/numpy.spec b/numpy.spec index 3572b10..05f9cda 100644 --- a/numpy.spec +++ b/numpy.spec @@ -2,7 +2,7 @@ Name: numpy Version: 1.21.4 -Release: 6 +Release: 7 Epoch: 1 Summary: A fast multidimensional array facility for Python @@ -101,14 +101,20 @@ popd &> /dev/null %{python3_sitearch}/%{name}-*.egg-info %exclude %{python3_sitearch}/%{name}/LICENSE.txt %exclude %{python3_sitearch}/%{name}/f2py +%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 +* Thu Feb 01 2024 shixuantong - 1:1.21.4-7 +- Do not pack open-source test case files + * Mon Oct 30 2023 Qiang Wei - 1:1.21.4-6 - Remove f2py from numpy package. It is in numpy-f2py pakcage. -- Gitee