From 613c79dd0b04e08549311682541253e7b38881a0 Mon Sep 17 00:00:00 2001 From: pcpa Date: Sat, 8 Feb 2014 15:34:11 -0200 Subject: [PATCH] Correct atlas library path --- sagemath.spec | 4 ++-- 1 file 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