diff --git a/scipy.spec b/scipy.spec index 1814aa35439e9fe075c9ef0fcb78f052c95c3af0..9029db192fb36c9ca2716b7578e275f628204353 100644 --- a/scipy.spec +++ b/scipy.spec @@ -1,3 +1,5 @@ +%define anolis_release .0.1 + # without means enabled %bcond_with doc @@ -9,7 +11,7 @@ Summary: Scientific Tools for Python Name: scipy Version: 1.3.1 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} # BSD -- whole package except: # Boost -- scipy/special/cephes/scipy_iv.c @@ -126,7 +128,7 @@ rm $(grep -rl '/\* Generated by Cython') PKG-INFO %build for PY in %{python3_version}; do env CFLAGS="$RPM_OPT_FLAGS -lm" \ - FFLAGS="$RPM_OPT_FLAGS -fPIC -cpp" \ + FFLAGS="$RPM_OPT_FLAGS -fPIC -cpp -fallow-argument-mismatch" \ LDFLAGS="$RPM_LD_FLAGS -shared" \ %ifarch %{openblas_arches} OPENBLAS=%{_libdir} \ @@ -201,6 +203,9 @@ popd %endif %changelog +* Fri Aug 05 2022 DengXiewei - 1.3.1-4.0.1 +- Adding -fallow-argument-mismatch workaround for build failure with gfortran 10 + * Thu Dec 12 2019 Tomas Orsava - 1.3.1-4 - Exclude unsupported i686 arch