From c488ce8a6590814ce5270f67eafd1ec0b18ff8017aba76880f752e35ec611296 Mon Sep 17 00:00:00 2001
From: Ruediger Oertel <ro@suse.de>
Date: Tue, 4 Oct 2011 15:01:16 +0000
Subject: [PATCH] Accepting request 85899 from devel:languages:python

scipy needs the static lib to build (forwarded request 85875 from behrisch)

OBS-URL: https://build.opensuse.org/request/show/85899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=14
---
 python-numpy.changes | 5 +++++
 python-numpy.spec    | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/python-numpy.changes b/python-numpy.changes
index 09117ae..3312bfa 100644
--- a/python-numpy.changes
+++ b/python-numpy.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Sat Oct 01 13:49:14 UTC 2011 - behrisch@users.sf.net
+
+- Added static lib to devel package for scipy build
+
 -------------------------------------------------------------------
 Wed Sep 21 13:04:54 UTC 2011 - saschpe@suse.de
 
diff --git a/python-numpy.spec b/python-numpy.spec
index 3ecc672..6861311 100644
--- a/python-numpy.spec
+++ b/python-numpy.spec
@@ -85,7 +85,6 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
 %install
 python setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
 rm -rf %{buildroot}%{python_sitearch}/numpy/{,core,distutils,f2py,fft,ma,matrixlib,oldnumeric,polynomial,random,testing}/tests # Don't package testsuite
-rm -rf %{buildroot}%{python_sitearch}/numpy/core/lib/libnpymath.a # Don't package static libs
 %if 0%{?suse_version} > 1020
 %fdupes -s %{buildroot}%{_prefix}
 %endif
@@ -99,6 +98,7 @@ rm -rf %{buildroot}%{python_sitearch}/numpy/core/lib/libnpymath.a # Don't packag
 %exclude %{python_sitearch}/numpy/*/*.h
 %exclude %{python_sitearch}/numpy/*/*/*.h
 %exclude %{python_sitearch}/numpy/*/*/*/*.h
+%exclude %{python_sitearch}/numpy/core/lib/libnpymath.a
 
 %files devel
 %defattr(-,root,root)
@@ -106,5 +106,6 @@ rm -rf %{buildroot}%{python_sitearch}/numpy/core/lib/libnpymath.a # Don't packag
 %{python_sitearch}/numpy/*/*.h
 %{python_sitearch}/numpy/*/*/*.h
 %{python_sitearch}/numpy/*/*/*/*.h
+%{python_sitearch}/numpy/core/lib/libnpymath.a
 
 %changelog