Add [atlas] to site.cfg for new atlas library names
This commit is contained in:
parent
42ab7111d1
commit
10d511d16d
11
numpy.spec
11
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@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@nwra.com> - 1:1.8.0-0.5.b2
|
||||
- Update site.cfg for new atlas library names
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user