Do not pack open-source test case files

(cherry picked from commit 8d9bf895d35942d8ec715f58a6e3590a2196dc3a)
This commit is contained in:
shixuantong 2024-02-01 15:26:23 +08:00 committed by openeuler-sync-bot
parent 143ae9bdea
commit 4bf3f103e5

View File

@ -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 <shixuantong1@huawei.com> - 1:1.21.4-7
- Do not pack open-source test case files
* Mon Oct 30 2023 Qiang Wei <qiang.wei@suse.com> - 1:1.21.4-6
- Remove f2py from numpy package. It is in numpy-f2py pakcage.