Accepting request 530444 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/530444 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=57
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-numpy-doc
|
||||
Version: 1.13.1
|
||||
Version: 1.13.3
|
||||
Release: 0
|
||||
Summary: Documentation for python-numpy
|
||||
License: BSD-3-Clause
|
||||
@@ -34,20 +34,20 @@ BuildRequires: python3-matplotlib
|
||||
BuildRequires: python3-numpy-devel = %{version}
|
||||
BuildRequires: python3-numpydoc
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: zip
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
Provides: python2-numpy-doc = %{version}
|
||||
Provides: python3-numpy-doc = %{version}
|
||||
Provides: python2-numpy-doc-html = %{version}
|
||||
Provides: python3-numpy-doc-html = %{version}
|
||||
Provides: python2-numpy-doc-pdf = %{version}
|
||||
Provides: python3-numpy-doc = %{version}
|
||||
Provides: python3-numpy-doc-html = %{version}
|
||||
Provides: python3-numpy-doc-pdf = %{version}
|
||||
Obsoletes: python2-numpy-doc-html < %{version}
|
||||
Obsoletes: python3-numpy-doc-html < %{version}
|
||||
Obsoletes: python2-numpy-doc-pdf < %{version}
|
||||
Obsoletes: python3-numpy-doc-html < %{version}
|
||||
Obsoletes: python3-numpy-doc-pdf < %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
@@ -74,14 +74,12 @@ This package provides the documentation for NumPy
|
||||
# drop build date from doc to fix build-compare
|
||||
sed -i "s/\(html_last_updated_fmt = \).*/\\1None/" doc/source/conf.py
|
||||
|
||||
|
||||
%build
|
||||
# make the documentation
|
||||
pushd doc
|
||||
make html PYVER=%{py3_ver}
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
# install the documentation
|
||||
mkdir -p %{buildroot}%{_docdir}/python-numpy/
|
||||
@@ -90,7 +88,6 @@ cp -r doc/build/html %{buildroot}%{_docdir}/python-numpy/
|
||||
%fdupes %{buildroot}%{_docdir}/python-numpy/html/
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_docdir}/python-numpy/
|
||||
|
||||
Reference in New Issue
Block a user