From 19379f45e2925bb9c3a0ee962cbdde3fe94be7c1 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Tue, 4 Jul 2017 01:03:26 +0200 Subject: [PATCH] rename macro in preparation for openblas build --- arpack.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arpack.spec b/arpack.spec index a7a78f8..24292d4 100644 --- a/arpack.spec +++ b/arpack.spec @@ -71,13 +71,13 @@ autoreconf -vif %build export F77=gfortran %if 0%{?fedora} || 0%{?rhel} >= 7 -%global atlaslib -L%{_libdir}/atlas -ltatlas +%global blaslib -L%{_libdir}/atlas -ltatlas %else -%global atlaslib -L%{_libdir}/atlas -lf77blas -latlas +%global blaslib -L%{_libdir}/atlas -lf77blas -latlas %endif %configure --enable-shared --enable-static \ - --with-blas="%{atlaslib}" \ - --with-lapack="%{atlaslib}" + --with-blas="%{blaslib}" \ + --with-lapack="%{blaslib}" %make_build