[sagemath] Correct atlas library path

pcpa pcpa at fedoraproject.org
Sat Feb 8 17:34:09 UTC 2014


commit 613c79dd0b04e08549311682541253e7b38881a0
Author: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date:   Sat Feb 8 15:34:11 2014 -0200

    Correct atlas library path

 sagemath.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sagemath.spec b/sagemath.spec
index def2b29..e8290e7 100644
--- a/sagemath.spec
+++ b/sagemath.spec
@@ -666,8 +666,8 @@ sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
 #------------------------------------------------------------------------
 # ensure proper/preferred libatlas is in linker path
 perl -pi -e 's|^(extra_link_args = ).*|$1\["-L%{_libdir}/atlas"\]|;' src/sage/misc/cython.py
-%if 0%{?fedora}
-perl -pi -e 's|return 'atlas'|return 'satlas'|;' src/sage/misc/cython.py
+%if 0%{?fedora} > 20
+perl -pi -e "s|return 'atlas'|return 'satlas'|;" src/sage/misc/cython.py
 %endif
 # some .c files are not (re)generated
 find src/sage \( -name \*.pyx -o -name \*.pxd \) | xargs touch


More information about the scm-commits mailing list