Accepting request 141145 from devel:languages:python
- Add numpy-python33.patch to fix compilation with Python 3.3 OBS-URL: https://build.opensuse.org/request/show/141145 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=24
This commit is contained in:
committed by
Git OBS Bridge
parent
11254d45a3
commit
877f911204
@@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define modname numpy
|
||||
Name: python-%{modname}
|
||||
Version: 1.6.2
|
||||
@@ -26,14 +27,14 @@ Group: Development/Libraries/Python
|
||||
Source: %{modname}-%{version}.tar.gz
|
||||
Patch1: numpy-buildfix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: python-devel
|
||||
Requires: python >= %{py_ver}
|
||||
Provides: numpy = %{version}
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-fortran
|
||||
# FIXME: atlas is horribly broken
|
||||
# %if 0%{?suse_version} <= 1210
|
||||
# BuildRequires: libatlas3-devel
|
||||
@@ -67,9 +68,9 @@ basic linear algebra and random number generation.
|
||||
Summary: Development files for %{modname} applications
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: python-devel
|
||||
Requires: blas-devel
|
||||
Requires: lapack-devel
|
||||
Requires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
Requires: gcc-fortran
|
||||
%py_requires -d
|
||||
|
||||
Reference in New Issue
Block a user