diff --git a/0001-fix-lapack-devel-build-error.patch b/0001-fix-lapack-devel-build-error.patch deleted file mode 100644 index 8d4550677804c8b4582d4e4a5bb41c97c3010dea..0000000000000000000000000000000000000000 --- a/0001-fix-lapack-devel-build-error.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 39333a8126c1b25b5fc2fb556c4796422a91bc01 Mon Sep 17 00:00:00 2001 -From: zhouwenpei -Date: Mon, 6 Dec 2021 15:23:13 +0800 -Subject: [PATCH] fix lapack-devel build error - ---- - LAPACKE/lapacke.pc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/LAPACKE/lapacke.pc.in b/LAPACKE/lapacke.pc.in -index 0097c25..c1d806b 100644 ---- a/LAPACKE/lapacke.pc.in -+++ b/LAPACKE/lapacke.pc.in -@@ -7,4 +7,4 @@ Version: @LAPACK_VERSION@ - URL: http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack - Libs: -L${libdir} -l@LAPACKELIB@ - Cflags: -I${includedir} --Requires.private: @LAPACKLIB@ -+Requires.private: lapack --- -2.30.0 - diff --git a/0002-Fix-out-of-bounds-read-in-slarrv.patch b/0002-Fix-out-of-bounds-read-in-slarrv.patch deleted file mode 100644 index fc8c24e1fa83b2853ea98bedcf8d6f5a0a720f19..0000000000000000000000000000000000000000 --- a/0002-Fix-out-of-bounds-read-in-slarrv.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 0631b6beaed60ba118b0b027c0f8d35397bf5df0 Mon Sep 17 00:00:00 2001 -From: Keno Fischer -Date: Thu, 30 Sep 2021 03:51:23 -0400 -Subject: [PATCH] Fix out of bounds read in slarrv - -This was originally reported as https://github.com/JuliaLang/julia/issues/42415. -I've tracked this down to an our of bounds read on the following line: - -https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L423 - -In the crashing example, `M` is `0`, causing `slarrv` to read uninitialized -memory from the work array. I believe the `0` for `M` is correct and indeed, -the documentation above supports that `M` may be zero: - -https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L113-L116 - -I believe it may be sufficient to early-out this function as suggested -in this PR. However, I have limited context for the full routine here, -so I would appreciate a sanity check. ---- - SRC/clarrv.f | 2 +- - SRC/dlarrv.f | 2 +- - SRC/slarrv.f | 2 +- - SRC/zlarrv.f | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/SRC/clarrv.f b/SRC/clarrv.f -index 1f09e4d..42f7107 100644 ---- a/SRC/clarrv.f -+++ b/SRC/clarrv.f -@@ -348,7 +348,7 @@ - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * -diff --git a/SRC/dlarrv.f b/SRC/dlarrv.f -index b036c1e..2994303 100644 ---- a/SRC/dlarrv.f -+++ b/SRC/dlarrv.f -@@ -350,7 +350,7 @@ - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * -diff --git a/SRC/slarrv.f b/SRC/slarrv.f -index 9d72b33..95f94fd 100644 ---- a/SRC/slarrv.f -+++ b/SRC/slarrv.f -@@ -350,7 +350,7 @@ - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * -diff --git a/SRC/zlarrv.f b/SRC/zlarrv.f -index 51ec558..e4be63e 100644 ---- a/SRC/zlarrv.f -+++ b/SRC/zlarrv.f -@@ -348,7 +348,7 @@ - * - * Quick return if possible - * -- IF( N.LE.0 ) THEN -+ IF( (N.LE.0).OR.(M.LE.0) ) THEN - RETURN - END IF - * --- -1.8.3.1 - diff --git a/v3.10.0.tar.gz b/lapack-3.10.1.tar.gz similarity index 50% rename from v3.10.0.tar.gz rename to lapack-3.10.1.tar.gz index 8a949b505ac9f222a08354cda803c03f0e81bef3..adf19c31a3546d8232d2c5cdba21793b6e2be68b 100644 Binary files a/v3.10.0.tar.gz and b/lapack-3.10.1.tar.gz differ diff --git a/lapack.spec b/lapack.spec index fc39bac4029c0dc1bced5a0cb8970679bee99850..111d7660cdb075f77cf241814298ec77bd0fe5d3 100644 --- a/lapack.spec +++ b/lapack.spec @@ -3,17 +3,14 @@ Name: lapack -Version: %{mediumver}.0 -Release: 5 +Version: %{mediumver}.1 +Release: 1 Summary: The LAPACK libraries for numerical linear algebra. License: BSD URL: http://www.netlib.org/lapack/ -Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{version}.tar.gz +Source0: https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.1.tar.gz Source1: http://www.netlib.org/lapack/manpages.tgz -Patch1: 0001-fix-lapack-devel-build-error.patch -Patch2: 0002-Fix-out-of-bounds-read-in-slarrv.patch - BuildRequires: gcc-gfortran Provides: blas = %{version}-%{release} Obsoletes: blas < %{version}-%{release} @@ -207,6 +204,9 @@ sed -i 's|@LAPACK_VERSION@|%{version}|g' %{buildroot}%{_libdir}/pkgconfig/lapack %endif %changelog +* Fri Jan 06 2022 xinghe - 3.10.1-1 +- update verion to 3.10.1 + * Fri Sep 16 2022 Wenyu Liu - 3.10.0-5 - Add the FS compiler options for gcc. diff --git a/v3.10.1.tar.gz b/v3.10.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..adf19c31a3546d8232d2c5cdba21793b6e2be68b Binary files /dev/null and b/v3.10.1.tar.gz differ