14
0
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:
Todd R
2017-08-24 16:44:23 +00:00
committed by Git OBS Bridge
parent f27a5cc865
commit c7debf9dce
4 changed files with 25 additions and 2 deletions

View File

@@ -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