forked from pool/python-numpy
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
This commit is contained in:
parent
5a8abcad01
commit
c488ce8a65
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user