strip Dynamic library
This commit is contained in:
parent
b8f4e507c1
commit
1235805da8
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user