Accepting request 113730 from devel:languages:python

- Fix SLE_11 build 

- Modify BuildRequires to match recent name changes of lapack and
  blas in project. (forwarded request 113708 from namtrac)

OBS-URL: https://build.opensuse.org/request/show/113730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2012-04-17 20:01:01 +00:00 committed by Git OBS Bridge
parent c488ce8a65
commit 1500bff18a
2 changed files with 26 additions and 6 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Apr 15 19:23:41 UTC 2012 - idonmez@suse.com
- Fix SLE_11 build
-------------------------------------------------------------------
Fri Apr 13 02:56:50 UTC 2012 - badshah400@gmail.com
- Modify BuildRequires to match recent name changes of lapack and
blas in project.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 01 13:49:14 UTC 2011 - behrisch@users.sf.net Sat Oct 01 13:49:14 UTC 2011 - behrisch@users.sf.net

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-numpy # spec file for package python-numpy
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
# #
Name: python-numpy Name: python-numpy
Version: 1.6.1 Version: 1.6.1
Release: 0 Release: 0
@ -27,9 +26,14 @@ Group: Development/Libraries/Python
Source: numpy-%{version}.tar.gz Source: numpy-%{version}.tar.gz
Patch1: numpy-buildfix.patch Patch1: numpy-buildfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel %if 0%{?suse_version} > 1130
BuildRequires: lapack BuildRequires: blas-devel
BuildRequires: lapack-devel
%else
BuildRequires: blas BuildRequires: blas
BuildRequires: lapack
%endif
BuildRequires: python-devel
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: gcc-fortran BuildRequires: gcc-fortran
%py_requires %py_requires
@ -62,9 +66,14 @@ basic linear algebra and random number generation.
Summary: Development files for numpy applications Summary: Development files for numpy applications
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python-devel %if 0%{?suse_version} > 1130
Requires: lapack Requires: blas-devel
Requires: lapack-devel
%else
Requires: blas Requires: blas
Requires: lapack
%endif
Requires: python-devel
%if 0%{?suse_version} %if 0%{?suse_version}
Requires: gcc-fortran Requires: gcc-fortran
%else %else