diff --git a/scipy.spec b/scipy.spec index 2523da3f1395a71055d161ffb45368c7b84c28d0..295e32631531be7809d7933b4f9099a140030657 100644 --- a/scipy.spec +++ b/scipy.spec @@ -2,9 +2,9 @@ %global debug_package %{nil} Name: scipy Version: 1.2.2 -Release: 4 +Release: 5 Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering -License: BSD, MIT, Boost and Public Domain +License: Qhull and Apache-2.0 URL: https://www.scipy.org Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz @@ -57,7 +57,7 @@ cp -a . %{py3dir} export CFLAGS="$RPM_OPT_FLAGS -lm" export LDFLAGS="$RPM_LD_FLAGS -Wall -shared" pushd %{py3dir} -env FFLAGS="$RPM_OPT_FLAGS -fPIC"\ +env FFLAGS="$RPM_OPT_FLAGS -fPIC -w -fallow-argument-mismatch -O2"\ OPENBLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \ %py3_build popd @@ -78,6 +78,9 @@ popd %{python3_sitearch}/*.egg-info %changelog +* Sun 01 Aug 2021 sunguoshuai - 1.2.2-5 +- Fix build error with gcc 10 + * Mon May 31 2021 huanghaitao - 1.2.2-4 - Completing build dependencies to fix git commands missing error