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
|
%bcond_without general
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1550
|
|
||||||
%define python_pkg_name python3
|
|
||||||
%else
|
|
||||||
%define python_pkg_name python38
|
%define python_pkg_name python38
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{python_pkg_name}" == "%{primary_python}"
|
%if "%{python_pkg_name}" == "%{primary_python}"
|
||||||
%define primary_interpreter 1
|
%define primary_interpreter 1
|
||||||
%else
|
%else
|
||||||
@ -205,12 +200,8 @@ BuildRequires: pkgconfig(libtirpc)
|
|||||||
BuildRequires: mpdecimal-devel
|
BuildRequires: mpdecimal-devel
|
||||||
%endif
|
%endif
|
||||||
%if %{with doc}
|
%if %{with doc}
|
||||||
%if 0%{?suse_version} >= 1500 && 0%{?sle_version} <= 150300
|
%if 0%{?suse_version} > 1500
|
||||||
# Here we just run sphinx and we can use generic one, we don't need
|
BuildRequires: %{python_pkg_name}-Sphinx
|
||||||
# the flavor variant
|
|
||||||
BuildRequires: python3-Sphinx
|
|
||||||
%else
|
|
||||||
BuildRequires: %{python_pkg_name}-Sphinx >= 3.2.0
|
|
||||||
BuildRequires: %{python_pkg_name}-python-docs-theme
|
BuildRequires: %{python_pkg_name}-python-docs-theme
|
||||||
BuildRequires: %{python_pkg_name}-sphinxcontrib-qthelp >= 1.0.2
|
BuildRequires: %{python_pkg_name}-sphinxcontrib-qthelp >= 1.0.2
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user