Accepting request 451739 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/451739 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=52
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-numpy-doc
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -32,19 +32,17 @@ BuildRequires: gcc-fortran
|
||||
BuildRequires: gcc-gfortran
|
||||
%endif
|
||||
Name: python-numpy-doc
|
||||
Version: 1.11.1
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: Documentation for python-numpy
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://www.numpy.org/
|
||||
Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.tar.gz
|
||||
Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip
|
||||
# PATCH-FIX-OPENSUSE numpy-buildfix.patch -- openSUSE-specific build fixes
|
||||
Patch0: numpy-buildfix.patch
|
||||
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
|
||||
Patch1: numpy-1.9.0-remove-__declspec.patch
|
||||
# PATCH-FIX-OPENSUSE numpy-1.10.4-cblas.patch -- fix for building with system cblas.
|
||||
Patch2: numpy-1.10.4-cblas.patch
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: python-Sphinx
|
||||
@@ -53,7 +51,8 @@ BuildRequires: python-matplotlib
|
||||
BuildRequires: python-numpy-devel = %{version}
|
||||
BuildRequires: python-numpydoc
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: zip
|
||||
BuildRequires: zip
|
||||
BuildRequires: unzip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
BuildRequires: cblas-devel
|
||||
@@ -127,9 +126,6 @@ This package provides the PDF documentation for NumPy
|
||||
%setup -q -n numpy-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
|
||||
%patch2 -p1
|
||||
%endif
|
||||
# drop build date from doc to fix build-compare
|
||||
sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" doc/source/conf.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user