[wannier90] Fix ATLAS conditional.

Susi Lehtola jussilehtola at fedoraproject.org
Tue Oct 15 12:18:06 UTC 2013


commit eeecd06c6e82f72249d238eb4f457392c79405d2
Author: Susi Lehtola <jussilehtola at fedoraproject.org>
Date:   Tue Oct 15 15:17:58 2013 +0300

    Fix ATLAS conditional.

 wannier90.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/wannier90.spec b/wannier90.spec
index 9a0e06d..a9418a9 100644
--- a/wannier90.spec
+++ b/wannier90.spec
@@ -85,7 +85,7 @@ echo "FCOPTS = %{optflags} -fPIC" >> make.sys
 echo "LDOPTS = %{optflags} -fPIC" >> make.sys
 
 # Use ATLAS
-%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
+%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
 echo "LIBS = -L%{_libdir}/atlas -lsatlas" >> make.sys
 %else
 echo "LIBS = -L%{_libdir}/atlas -llapack -lf77blas -latlas" >> make.sys


More information about the scm-commits mailing list