forked from pool/python-nss
Clean up building of documentation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nss?expand=0&rev=11
This commit is contained in:
@@ -30,13 +30,13 @@ Patch0: 0001-Rename-DSA-RSA-PublicKey-to-Py-DSA-RSA-PublicKey.patch
|
||||
# PATCH-FIX-UPSTREAM sphinx.patch bsc#[0-9]+ mcepl@suse.com
|
||||
# this patch makes things totally awesome
|
||||
Patch1: sphinx.patch
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: mozilla-nspr-devel
|
||||
BuildRequires: mozilla-nss-devel
|
||||
BuildRequires: python3-Sphinx
|
||||
# Required for tests
|
||||
BuildRequires: mozilla-nss-tools
|
||||
%python_subpackages
|
||||
@@ -59,8 +59,7 @@ HTML Documentation and examples for %name.
|
||||
%autosetup -p1 -n python-nss-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
python3 setup.py build_doc
|
||||
%python_build build_doc
|
||||
rm -rf build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
|
||||
Reference in New Issue
Block a user