From a661f0d6c4c5984ef1c97dc72cce1bec3d822011 Mon Sep 17 00:00:00 2001 From: maminjie Date: Thu, 18 Mar 2021 18:56:05 +0800 Subject: [PATCH] Fix the position of CFLAGS added --- lapack.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lapack.spec b/lapack.spec index 854713b..98b4d97 100644 --- a/lapack.spec +++ b/lapack.spec @@ -5,7 +5,7 @@ Name: lapack Version: %{mediumver}.0 -Release: 3 +Release: 4 Summary: The LAPACK libraries for numerical linear algebra. License: BSD URL: http://www.netlib.org/lapack/ @@ -57,7 +57,8 @@ The %{name}-help package conatins man manual etc cp -f make.inc.example make.inc sed -i "s|librefblas.a|libblas.a|g" make.inc -sed -i '36iCFLAGS+= -fstack-protector-strong -fPIC' LAPACKE/utils/Makefile +# Please take care the changes when upgrading the software package +sed -i '37iCFLAGS+= -fstack-protector-strong -fPIC' LAPACKE/utils/Makefile sed -i '40iCFLAGS+= -fstack-protector-strong -fPIC' LAPACKE/src/Makefile %build @@ -205,6 +206,9 @@ sed -i 's|@LAPACK_VERSION@|%{version}|g' %{buildroot}%{_libdir}/pkgconfig/lapack %endif %changelog +* Thu Mar 18 2021 maminjie - 3.9.0-4 +- Fix the position of CFLAGS added + * Thu Nov 12 2020 xinghe - 3.9.0-3 - add help for Recommends -- Gitee