forked from pool/python-Sphinx
Accepting request 518572 from home:TheBlackCat:branches:devel:languages:python
This fixes build errors in various python-foo-doc packages. - Add new latex dependencies needed in openSUSE:Factory - Check that latex dependencies are installable OBS-URL: https://build.opensuse.org/request/show/518572 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=87
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%if 0%{?suse_version} != 1315
|
||||
%bcond_without latex
|
||||
%else
|
||||
%bcond_with latex
|
||||
%endif
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Sphinx-doc
|
||||
@@ -29,6 +34,9 @@ Patch1: disable-test.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python3-Sphinx
|
||||
%if %{with latex}
|
||||
BuildRequires: python3-Sphinx-latex
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: %{name}-html = %{version}
|
||||
BuildArch: noarch
|
||||
|
Reference in New Issue
Block a user