strip Dynamic library

This commit is contained in:
zhangtao2020 2021-09-04 14:23:09 +08:00
parent fb12f7de4c
commit f8dc5ef8d9

View File

@ -2,7 +2,7 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: scipy Name: scipy
Version: 1.2.2 Version: 1.2.2
Release: 6 Release: 7
Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering
License: Qhull and Apache-2.0 License: Qhull and Apache-2.0
URL: https://www.scipy.org URL: https://www.scipy.org
@ -72,12 +72,17 @@ env FFLAGS="$RPM_OPT_FLAGS -fPIC" \
%py3_install %py3_install
popd popd
find %{buildroot} -type f -name '*.so' -exec strip '{}' ';'
%files -n python3-scipy %files -n python3-scipy
%license LICENSE.txt %license LICENSE.txt
%{python3_sitearch}/scipy %{python3_sitearch}/scipy
%{python3_sitearch}/*.egg-info %{python3_sitearch}/*.egg-info
%changelog %changelog
* Sat Sep 4 2021 zhangtao <zhangtao221@huawei.com> - 1.2.2-7
- Strip Dynamic library
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.2-6 * Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.2-6
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git - DESC: delete -Sgit from %autosetup, and delete BuildRequires git