diff --git a/fix-lapack-testing.patch b/fix-lapack-testing.patch new file mode 100644 index 0000000..6a32e86 --- /dev/null +++ b/fix-lapack-testing.patch @@ -0,0 +1,13 @@ +diff --git a/lapack_testing.py b/lapack_testing.py +index ae59926b88..96fbeb2a68 100755 +--- a/lapack_testing.py ++++ b/lapack_testing.py +@@ -136,7 +136,7 @@ def run_summary_test( f, cmdline, short_summary): + for line in pipe.readlines(): + f.write(str(line)) + words_in_line=line.split() +- if (line.find("run")!=-1): ++ if (line.find("run)")!=-1): + # print line + whereisrun=words_in_line.index("run)") + nb_test_run+=int(words_in_line[whereisrun-2]) diff --git a/lapack.changes b/lapack.changes index c5e7130..55603ea 100644 --- a/lapack.changes +++ b/lapack.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 4 11:54:08 UTC 2024 - Daniel Garcia + +- Add fix-lapack-testing.patch to fix tests + gh#Reference-LAPACK/lapack@5b0687f429cf + ------------------------------------------------------------------- Fri Jun 14 03:09:33 UTC 2024 - Atri Bhattacharya diff --git a/lapack.spec b/lapack.spec index ee13383..364058d 100644 --- a/lapack.spec +++ b/lapack.spec @@ -44,6 +44,8 @@ Summary: Linear Algebra PACKage License: BSD-3-Clause URL: https://www.netlib.org/lapack/ Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{version}.tar.gz#/%{pname}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix-lapack-testing.patch gh#Reference-LAPACK/lapack@5b0687f429cf +Patch1: fix-lapack-testing.patch Source98: lapack.rpmlintrc Source99: baselibs.conf BuildRequires: cmake