From abb0cc35c57bd13d3b143645ccca5407effc323ec73e31f4de0631b41cec18a0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 10 Apr 2019 07:13:51 +0000 Subject: [PATCH 1/2] - fix tests to include latex/extmath tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=124 --- python-Sphinx.changes | 5 +++++ python-Sphinx.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 1e7a56b..455dba8 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 10 07:13:28 UTC 2019 - Dirk Mueller + +- fix tests to include latex/extmath tests + ------------------------------------------------------------------- Wed Mar 27 16:39:15 UTC 2019 - Matej Cepl diff --git a/python-Sphinx.spec b/python-Sphinx.spec index c8552cd..08d97bb 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -61,6 +61,7 @@ Requires(postun): update-alternatives BuildArch: noarch %if %{with test} BuildRequires: %{python_module Sphinx = %{version}} +BuildRequires: %{python_module Sphinx-latex = %{version}} BuildRequires: %{python_module html5lib} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} @@ -166,6 +167,7 @@ Requires: tex(utf8.def) Requires: tex(utf8x.def) Requires: tex(wrapfig.sty) %if 0%{?suse_version} > 1320 +Requires: texlive-dvipng Requires: texlive-latexmk Requires: texlive-makeindex Requires: tex(varwidth.sty) From 9b8f5810c63836951a5c6b9a6c5ed49e712b76e83ae584ab8507edbb691050f5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 10 Apr 2019 21:03:59 +0000 Subject: [PATCH 2/2] - don't provide sphinx from test subpackage, it is for testing OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=125 --- python-Sphinx.changes | 5 +++++ python-Sphinx.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-Sphinx.changes b/python-Sphinx.changes index 455dba8..e02882f 100644 --- a/python-Sphinx.changes +++ b/python-Sphinx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 10 20:43:43 UTC 2019 - Dirk Mueller + +- don't provide sphinx from test subpackage, it is for testing + ------------------------------------------------------------------- Wed Apr 10 07:13:28 UTC 2019 - Dirk Mueller diff --git a/python-Sphinx.spec b/python-Sphinx.spec index 08d97bb..aa0272b 100644 --- a/python-Sphinx.spec +++ b/python-Sphinx.spec @@ -85,9 +85,11 @@ Requires: python-typing %endif %endif %ifpython2 +%if ! %{with test} Obsoletes: %{oldpython}-sphinx < %{version} Provides: %{oldpython}-sphinx = %{version} %endif +%endif %python_subpackages %description