[numpy] Add [atlas] to site.cfg for new atlas library names

Orion Poplawski orion at fedoraproject.org
Mon Sep 23 17:01:07 UTC 2013


commit 10d511d16d1be1a612802e724a1aa62331c20059
Author: Orion Poplawski <orion at nwra.com>
Date:   Mon Sep 23 11:00:57 2013 -0600

    Add [atlas] to site.cfg for new atlas library names

 numpy.spec |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/numpy.spec b/numpy.spec
index 01c02c8..8046398 100644
--- a/numpy.spec
+++ b/numpy.spec
@@ -9,7 +9,7 @@
 
 Name:           numpy
 Version:        1.8.0
-Release:        0.5.b2%{?dist}
+Release:        0.6.b2%{?dist}
 Epoch:          1
 Summary:        A fast multidimensional array facility for Python
 
@@ -90,8 +90,14 @@ rm numpy/distutils/command/__init__.py && touch numpy/distutils/command/__init__
 # Atlas 3.10 library names
 %if 0%{?fedora} >= 21
 sed -i '/^libraries.*atlas/s/=.*/= tatlas/' site.cfg
+sed -i '/tatlas/alibrary_dirs = %{_libdir}/atlas' site.cfg
 %endif
 sed -i 's|/usr/lib64|%{_libdir}|' site.cfg
+cat >> site.cfg <<EOF
+[atlas]
+library_dirs = %{_libdir}/atlas
+atlas_libs = tatlas
+EOF
 
 %if 0%{?with_python3}
 rm -rf %{py3dir}
@@ -248,6 +254,9 @@ popd &> /dev/null
 
 
 %changelog
+* Mon Sep 23 2013 Orion Poplawski <orion at nwra.com> - 1:1.8.0-0.6.b2
+- Add [atlas] to site.cfg for new atlas library names
+
 * Sun Sep 22 2013 Orion Poplawski <orion at nwra.com> - 1:1.8.0-0.5.b2
 - Update site.cfg for new atlas library names
 


More information about the scm-commits mailing list