diff --git a/0001-fix-lapack-devel-build-error.patch b/0001-fix-lapack-devel-build-error.patch new file mode 100644 index 0000000000000000000000000000000000000000..8d4550677804c8b4582d4e4a5bb41c97c3010dea --- /dev/null +++ b/0001-fix-lapack-devel-build-error.patch @@ -0,0 +1,22 @@ +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/lapack.spec b/lapack.spec index fd6b5d399c1e73041d7ba943d6e1cdf3fb2501f5..d31b2b5697af02e34fd399b8384c0c8b8d8d8d01 100644 --- a/lapack.spec +++ b/lapack.spec @@ -5,13 +5,15 @@ Name: lapack Version: %{mediumver}.0 -Release: 1 +Release: 2 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 Source1: http://www.netlib.org/lapack/manpages.tgz +Patch1: 0001-fix-lapack-devel-build-error.patch + BuildRequires: gcc-gfortran Provides: blas = %{version}-%{release} Obsoletes: blas < %{version}-%{release} @@ -205,6 +207,9 @@ sed -i 's|@LAPACK_VERSION@|%{version}|g' %{buildroot}%{_libdir}/pkgconfig/lapack %endif %changelog +* Mon Dec 6 2021 zhouwenpei - 3.10.0-2 +- fix lapack-devel build error + * Mon Nov 29 2021 zhouwenpei - 3.10.0-1 - update verion to 3.10.0