From 0bf8406a4d5e9a75934926233398b18c153fe6b1 Mon Sep 17 00:00:00 2001 From: shixuantong Date: Thu, 22 Feb 2024 15:25:25 +0800 Subject: [PATCH] remove f2py form python3-numpy package and Do not pack open-source test case files --- numpy.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/numpy.spec b/numpy.spec index 07797a4..ed51f55 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,25 @@ popd &> /dev/null %{python3_sitearch}/%{name}/* %{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 22 2024 shixuantong - 1:1.21.4-8 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:remove f2py form python3-numpy package. It is in python3-numpy-f2py + Do not pack open-source test case files + * Sat Dec 24 2022 zhuofeng - 1:1.21.4-7 - Type:bugfix - CVE:NA -- Gitee