diff --git a/scipy.spec b/scipy.spec index 295e32631531be7809d7933b4f9099a140030657..af72cfd90bc34be057c70fe0db558b3b885d64ac 100644 --- a/scipy.spec +++ b/scipy.spec @@ -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 - 1.2.2-6 +- Strip Dynamic library + * Sun 01 Aug 2021 sunguoshuai - 1.2.2-5 - Fix build error with gcc 10