Don't mess with Sphinx
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=103
This commit is contained in:
parent
05d6c15465
commit
d36b19ed64
@ -36,12 +36,7 @@
|
||||
%bcond_without general
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
||||
%define python_pkg_name python3
|
||||
%else
|
||||
%define python_pkg_name python38
|
||||
%endif
|
||||
|
||||
%if "%{python_pkg_name}" == "%{primary_python}"
|
||||
%define primary_interpreter 1
|
||||
%else
|
||||
@ -205,12 +200,8 @@ BuildRequires: pkgconfig(libtirpc)
|
||||
BuildRequires: mpdecimal-devel
|
||||
%endif
|
||||
%if %{with doc}
|
||||
%if 0%{?suse_version} >= 1500 && 0%{?sle_version} <= 150300
|
||||
# Here we just run sphinx and we can use generic one, we don't need
|
||||
# the flavor variant
|
||||
BuildRequires: python3-Sphinx
|
||||
%else
|
||||
BuildRequires: %{python_pkg_name}-Sphinx >= 3.2.0
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: %{python_pkg_name}-Sphinx
|
||||
BuildRequires: %{python_pkg_name}-python-docs-theme
|
||||
BuildRequires: %{python_pkg_name}-sphinxcontrib-qthelp >= 1.0.2
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user