diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..44aa6f68ebd3fcdb25587a1c64a8e26c6d083bc5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.gz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..654f5ae8fb0384bd48d088e82ecf7bed6773a626 --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/scipy diff --git a/PROPACK.zip b/PROPACK.zip index 7e9201b1368dad7fb875347b982f1b94446ef89b..51f2f1a17928eebc1702d196c8adc91a7b8c2da0 100644 Binary files a/PROPACK.zip and b/PROPACK.zip differ diff --git a/array-api-compat.zip b/array-api-compat.zip index b59ae6453773321097fa77bbe180058cd0100c71..626e7575056359a88f374bc49bd646a1fc5ce396 100644 Binary files a/array-api-compat.zip and b/array-api-compat.zip differ diff --git a/array-api-extra.zip b/array-api-extra.zip index 4f2dd030edd273a431dcede16d8477ed0482f334..7773af93e10be40b6b35944ddb541261f8f61afd 100644 Binary files a/array-api-extra.zip and b/array-api-extra.zip differ diff --git a/boost_math.zip b/boost_math.zip index 6fcb4c18d61ef6d887e2355ad44ceb9061144940..b6e54e5c68abb2d1d1a454fb99a7c995c7b2e149 100644 Binary files a/boost_math.zip and b/boost_math.zip differ diff --git a/cobyqa.zip b/cobyqa.zip index 8d34c72112a59ea015e0b8446056bbd93020cea2..7a656ee7faee735b08ec632681058bf77ce7d312 100644 Binary files a/cobyqa.zip and b/cobyqa.zip differ diff --git a/highs.zip b/highs.zip index b85ff3a84df297ed8df7ac1a885ef65dbde30a94..db5292ff4dc12433076c353fe64b449d70cc1e61 100644 Binary files a/highs.zip and b/highs.zip differ diff --git a/pocketfft.zip b/pocketfft.zip index abc40ad693c366dedcb435e3e0e22634d5a0e3fc..dd2660502e71b2621c5f4de4abebe850e70cb071 100644 Binary files a/pocketfft.zip and b/pocketfft.zip differ diff --git a/scipy-1.15.3.tar.gz b/scipy-1.15.3.tar.gz index 388ad9e9470f1e69c8e7d0ab298fddd4ad9c5ca4..70ffd24b8a4e29de4eb215a96d4f2f49086029b0 100644 Binary files a/scipy-1.15.3.tar.gz and b/scipy-1.15.3.tar.gz differ diff --git a/scipy.spec b/scipy.spec index 1074b0b526b05952a6c94df74d189bfe300c2057..b46524b4fc211ad474b5e49d6a26985e7486e79e 100644 --- a/scipy.spec +++ b/scipy.spec @@ -1,7 +1,11 @@ %global debug_package %{nil} + +# The code is not safe to build with LTO +%global _lto_cflags %{nil} + Name: scipy Version: 1.15.3 -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 @@ -93,7 +97,7 @@ env FFLAGS="$RPM_OPT_FLAGS -fPIC -w -fallow-argument-mismatch -O2"\ popd %install -export CFLAGS="$RPM_OPT_FLAGS -lm" +export CFLAGS="$RPM_OPT_FLAGS" pushd %{py3dir} env FFLAGS="$RPM_OPT_FLAGS -fPIC" \ @@ -102,29 +106,17 @@ popd find %{buildroot} -type f -name '*.so' -exec strip '{}' ';' -cd $RPM_BUILD_ROOT/usr -file `find -type f`| grep -w ELF | awk -F":" '{print $1}' | for i in `xargs` -do - chrpath -d $i -done -cd - -mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d -echo "%{_bindir}/%{name}" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf -echo "%{_libdir}/%{name}" >> $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - %files -n python3-scipy %license LICENSE.txt %{python3_sitearch}/scipy %{python3_sitearch}/*.dist-info -%config(noreplace) /etc/ld.so.conf.d/* %changelog +* Mon Jul 28 2025 Funda Wang - 1.15.3-2 +- do not remove rpath for shared objects, as the package itself is using + special tweaked rpath for shared libraries to work +- do not build with lto, it may cause crash + * Thu Jul 03 2025 Liu Chao - 1.15.3-1 - Upgrade to 1.15.3 because numpy upgrades to 2.3.0 diff --git a/unuran.zip b/unuran.zip index e1753522827119240b1ebca6f2c85ac2991795f1..40b02823866bb0a272c6c577fcb5dc3921a2530d 100644 Binary files a/unuran.zip and b/unuran.zip differ