SHA256
1
0
forked from pool/python38
Matej Cepl 2022-09-10 19:51:56 +00:00 committed by Git OBS Bridge
parent 05d6c15465
commit d36b19ed64

View File

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