SHA256
1
0
forked from pool/python-numpy

Accepting request 142801 from devel:languages:python

Removed openSUSE 11.4 spec file workarounds (forwarded request 142747 from TheBlackCat) (forwarded request 142789 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=26
This commit is contained in:
Stephan Kulow 2012-11-28 13:33:46 +00:00 committed by Git OBS Bridge
parent a941e61bba
commit ecb12a2a9e
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
- Removed openSUSE 11.4 spec file workarounds
-------------------------------------------------------------------
Wed Nov 21 09:31:44 UTC 2012 - idonmez@suse.com

View File

@ -38,17 +38,13 @@ BuildRequires: python3-devel
# %if 0%{?suse_version} <= 1210
# BuildRequires: libatlas3-devel
# %endif
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%endif
%if 0%{?suse_version}
BuildRequires: fdupes
BuildRequires: gcc-fortran
%else
BuildRequires: gcc-gfortran
%endif
Requires: python3 >= %{py3_ver}
Requires: python(abi) = %{py3_ver}
%description
NumPy is a general-purpose array-processing package designed to