!14 Strip Dynamic library files

From: @zhangtao2020
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-09-07 10:43:20 +00:00 committed by Gitee
commit 9f5b27a9e5

View File

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