diff --git a/python38.spec b/python38.spec index c6ac00f..87e978d 100644 --- a/python38.spec +++ b/python38.spec @@ -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