- 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
This commit is contained in:
2019-04-10 21:03:59 +00:00
committed by Git OBS Bridge
parent b90857e369
commit 5d0f4e5260
2 changed files with 7 additions and 0 deletions

View File

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