Accepting request 518573 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/518573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2017-08-29 09:39:09 +00:00 committed by Git OBS Bridge
commit 646c529955
4 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 24 16:43:14 UTC 2017 - toddrme2178@gmail.com
- Check that latex dependencies are installable
-------------------------------------------------------------------
Mon Jul 24 19:11:52 UTC 2017 - toddrme2178@gmail.com

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 24 15:55:01 UTC 2017 - toddrme2178@gmail.com
- Add new latex dependencies needed in openSUSE:Factory
-------------------------------------------------------------------
Mon Jul 24 19:11:52 UTC 2017 - toddrme2178@gmail.com

View File

@ -1,5 +1,5 @@
#
# spec file for package python-Sphinx-doc
# spec file for package python-Sphinx
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
@ -16,7 +16,7 @@
#
%if 0%{?suse_version} && ( 0%{?suse_version} != 1315 && 0%{?suse_version} > 1110 )
%if 0%{?suse_version} != 1315
%bcond_without latex
%else
%bcond_with latex
@ -153,6 +153,11 @@ Requires: tex(upquote.sty)
Requires: tex(utf8.def)
Requires: tex(utf8x.def)
Requires: tex(wrapfig.sty)
%if 0%{?suse_version} > 1320
Requires: texlive-latexmk
Requires: texlive-makeindex
Requires: tex(varwidth.sty)
%endif
%description latex
Sphinx is a tool that makes it easy to create intelligent and beautiful