Accepting request 693013 from devel:languages:python

- don't provide sphinx from test subpackage, it is for testing

- fix tests to include latex/extmath tests

OBS-URL: https://build.opensuse.org/request/show/693013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2019-04-12 07:14:08 +00:00 committed by Git OBS Bridge
commit a80f54295a
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Apr 10 20:43:43 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- don't provide sphinx from test subpackage, it is for testing
-------------------------------------------------------------------
Wed Apr 10 07:13:28 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- fix tests to include latex/extmath tests
-------------------------------------------------------------------
Wed Mar 27 16:39:15 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -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}
@ -84,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
@ -166,6 +169,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)