From 937d9929ca8fbddf22d98da0c7dcf67dacb2a9ab Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 21 Sep 2013 21:51:18 -0600 Subject: [PATCH] Rebuild for atlas 3.10 using threaded library --- arpack.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/arpack.spec b/arpack.spec index ce6f55a..ac70b8b 100644 --- a/arpack.spec +++ b/arpack.spec @@ -1,6 +1,6 @@ Name: arpack Version: 3.1.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fortran 77 subroutines for solving large scale eigenvalue problems License: BSD Group: Development/Libraries @@ -61,9 +61,14 @@ library and so links used for building arpack based applications. %build export F77=gfortran +% 0%{?fedora} >= 21 +%global atlaslib -L%{_libdir}/atlas -ltatlas +%else +%global atlaslib -L%{_libdir}/atlas -lf77blas -latlas +%endif %configure --enable-shared --enable-static \ - --with-blas="-L%{_libdir}/atlas -lf77blas -latlas" \ - --with-lapack="-L%{_libdir}/atlas -llapack -latlas" + --with-blas="%{atlaslib}" \ + --with-lapack="%{atlaslib}" make %{?_smp_mflags} %install @@ -100,6 +105,9 @@ rm -rf %{buildroot} %{_libdir}/libarpack.a %changelog +* Sun Sep 21 2013 Orion Poplawski - 3.1.3-2 +- Rebuild for atlas 3.10 using threaded library + * Thu Sep 05 2013 Susi Lehtola - 3.1.3-1 - Update to 3.1.3.