diff --git a/scipy.spec b/scipy.spec index b832dda08baed2d0f057e2407ad52caf0a42fc81..94c0990e1d144c1c1aa57d26f1b220d7f77e736b 100644 --- a/scipy.spec +++ b/scipy.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: scipy Version: 1.10.1 -Release: 1 +Release: 2 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 @@ -59,6 +59,7 @@ export SCIPY_USE_PYTHRAN=0 export CFLAGS="$RPM_OPT_FLAGS -lm" export LDFLAGS="$RPM_LD_FLAGS -Wall -shared" pushd %{py3dir} +%global _hardening_clang_cflags %{nil} env FFLAGS="$RPM_OPT_FLAGS -fPIC -w -fallow-argument-mismatch -O2"\ OPENBLAS=%{_libdir} FFTW=%{_libdir} BLAS=%{_libdir} LAPACK=%{_libdir} \ %py3_build @@ -100,6 +101,9 @@ echo "%{_libdir}/%{name}" >> $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.c %config(noreplace) /etc/ld.so.conf.d/* %changelog +* Mon Sep 11 2023 liyunfei - 1.10.1-2 +- add clang compile support + * Mon Jul 10 2023 wangkai <13474090681@163.com> - 1.10.1-1 - Update to 1.10.1