diff --git a/lapack.spec b/lapack.spec index d6139d13acafca6a5a81fb4a9e9dc825fd4857b2..7ae05b0294d1808d5f2b3f36aa89a35a0f892789 100644 --- a/lapack.spec +++ b/lapack.spec @@ -5,11 +5,11 @@ Name: lapack Version: %{mediumver}.0 -Release: 1 +Release: 3 Summary: The LAPACK libraries for numerical linear algebra. License: BSD URL: http://www.netlib.org/lapack/ -Source0: https://github.com/Reference-LAPACK/lapack/archive/%{name}-%{version}.tar.gz +Source0: https://github.com/Reference-LAPACK/lapack/archive/v%{version}.tar.gz Source1: http://www.netlib.org/lapack/manpages.tgz BuildRequires: git gcc-gfortran @@ -56,7 +56,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 @@ -204,6 +205,12 @@ sed -i 's|@LAPACK_VERSION@|%{version}|g' %{buildroot}%{_libdir}/pkgconfig/lapack %endif %changelog +* Thu Mar 18 2021 maminjie - 3.9.0-3 +- Fix the position of CFLAGS added + +* Wed Sep 09 2020 liuweibo - 3.9.0-2 +- fix source0 + * Sat Aug 08 2020 xinghe - 3.9.0-1 - update verion to 3.9.0 diff --git a/lapack-3.9.0.tar.gz b/v3.9.0.tar.gz similarity index 100% rename from lapack-3.9.0.tar.gz rename to v3.9.0.tar.gz