Accepting request 123556 from devel:languages:python
Add libatlas2 buildrequires. This provides very highly tuned linear algebra handling. (forwarded request 123555 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/123556 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
b6d57b3c64
commit
f9122c05b0
@@ -27,27 +27,28 @@ Source: %{modname}-%{version}.tar.gz
|
||||
Patch1: numpy-buildfix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
Requires: python(abi) >= %{py_ver}
|
||||
Provides: numpy = %{version}
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: lapack-devel
|
||||
%else
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
BuildRequires: blas
|
||||
BuildRequires: lapack
|
||||
%endif
|
||||
Requires: python >= %{py_ver}
|
||||
Provides: numpy = %{version}
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: fdupes
|
||||
%if 0%{?suse_version} <= 1210
|
||||
BuildRequires: libatlas3-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%else
|
||||
%py_requires
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: gcc-gfortran
|
||||
%endif
|
||||
%if ! 0%{?fedora_version}
|
||||
Provides: python-numeric = %{version}
|
||||
Obsoletes: python-numeric < %{version}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
NumPy is a general-purpose array-processing package designed to
|
||||
@@ -66,13 +67,8 @@ Summary: Development files for %{modname} applications
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: python-devel
|
||||
%if 0%{?suse_version} > 1110
|
||||
Requires: blas-devel
|
||||
Requires: lapack-devel
|
||||
%else
|
||||
Requires: blas
|
||||
Requires: lapack
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: gcc-fortran
|
||||
%py_requires -d
|
||||
|
||||
Reference in New Issue
Block a user