Accepting request 47219 from devel:languages:python

Copy from devel:languages:python/python-numpy based on submit request 47219 from user coolo

OBS-URL: https://build.opensuse.org/request/show/47219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=9
This commit is contained in:
OBS User autobuild
2010-09-06 09:39:05 +00:00
committed by Git OBS Bridge
parent dc70c4b721
commit f4b14912c2
6 changed files with 39 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-numpy (Version 1.3.0)
# spec file for package python-numpy (Version 1.5.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,8 +21,8 @@ Name: python-numpy
Summary: NumPy: array processing for numbers, strings, records and objects
License: BSD
Group: Development/Libraries/Python
Version: 1.3.0
Release: 3
Version: 1.5.0
Release: 1
Url: http://sourceforge.net/projects/numpy
Provides: numpy = %version-%release
%if 0%{?fedora_version} == 0
@@ -44,7 +44,6 @@ BuildRequires: fdupes
Source: numpy-%{version}.tar.bz2
Source1: python-numpy-rpmlintrc
Patch1: numpy-buildfix.patch
Patch2: npy_cpu.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -76,7 +75,6 @@ This package contains files for developing applications using numpy.
%prep
%setup -q -n numpy-%{version}
%patch1 -p0
%patch2
for i in $(find . -name "*.py"); do
sed -i 's|^.*env python$|#!%{_bindir}/python|g' $i
done