Accepting request 514467 from devel:languages:python
- Add xlocale.patch: xlocale.h: don't use obsolete <xlocale.h> OBS-URL: https://build.opensuse.org/request/show/514467 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=55
This commit is contained in:
@@ -28,6 +28,8 @@ Source: https://pypi.io/packages/source/n/numpy/numpy-%{version}.zip
|
||||
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-UPSTREAM don't use obsolete <xlocale.h>
|
||||
Patch2: xlocale.patch
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-matplotlib
|
||||
@@ -71,6 +73,7 @@ This package provides the documentation for NumPy
|
||||
%setup -q -n numpy-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
# 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