Accepting request 689877 from home:comurphy:branches:devel:languages:python:backports
- Fix python sitearch paths for SLE_12_SP3/4 OBS-URL: https://build.opensuse.org/request/show/689877 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=23
This commit is contained in:
parent
4ed8230673
commit
6630543ee6
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 12:20:01 UTC 2019 - Colleen Murphy <comurphy@suse.com>
|
||||
|
||||
- Fix python sitearch paths for SLE_12_SP3/4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 10:20:50 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
|
@ -259,6 +259,15 @@ popd &> /dev/null
|
||||
%python2_only %{p_bindir}/f2py2*
|
||||
%python3_only %{p_bindir}/f2py3*
|
||||
%python3_only %{p_bindir}/f2py
|
||||
%if %{without hpc}
|
||||
%{python_sitearch}/numpy/
|
||||
%{python_sitearch}/numpy-%{version}-py*.egg-info
|
||||
%exclude %{python_sitearch}/numpy/*/*/*.c
|
||||
%exclude %{python_sitearch}/numpy/*/*.h
|
||||
%exclude %{python_sitearch}/numpy/*/*/*.h
|
||||
%exclude %{python_sitearch}/numpy/*/*/*/*.h
|
||||
%exclude %{python_sitearch}/numpy/core/lib/libnpymath.a
|
||||
%else
|
||||
%{p_python_sitearch}/numpy/
|
||||
%{p_python_sitearch}/numpy-%{version}-py*.egg-info
|
||||
%exclude %{p_python_sitearch}/numpy/*/*/*.c
|
||||
@ -266,6 +275,7 @@ popd &> /dev/null
|
||||
%exclude %{p_python_sitearch}/numpy/*/*/*.h
|
||||
%exclude %{p_python_sitearch}/numpy/*/*/*/*.h
|
||||
%exclude %{p_python_sitearch}/numpy/core/lib/libnpymath.a
|
||||
%endif
|
||||
|
||||
%if %{with hpc}
|
||||
%define hpc_module_pname python%(a=%{hpc_python_version}; echo -n ${a/.*/})-numpy
|
||||
@ -279,10 +289,18 @@ popd &> /dev/null
|
||||
%files %{python_files devel}
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE.txt
|
||||
%if %{without hpc}
|
||||
%{python_sitearch}/numpy/*/*/*.c
|
||||
%{python_sitearch}/numpy/*/*.h
|
||||
%{python_sitearch}/numpy/*/*/*.h
|
||||
%{python_sitearch}/numpy/*/*/*/*.h
|
||||
%{python_sitearch}/numpy/core/lib/libnpymath.a
|
||||
%else
|
||||
%{p_python_sitearch}/numpy/*/*/*.c
|
||||
%{p_python_sitearch}/numpy/*/*.h
|
||||
%{p_python_sitearch}/numpy/*/*/*.h
|
||||
%{p_python_sitearch}/numpy/*/*/*/*.h
|
||||
%{p_python_sitearch}/numpy/core/lib/libnpymath.a
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user