From eab98dbd82f2593e175c44b18820396cf7d6ffa42471107a54b9ea9179c16378 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 6 Sep 2022 22:06:30 +0000 Subject: [PATCH] Better docs BRs? OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=99 --- python38.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python38.spec b/python38.spec index 87e978d..812c6ca 100644 --- a/python38.spec +++ b/python38.spec @@ -200,10 +200,12 @@ BuildRequires: pkgconfig(libtirpc) BuildRequires: mpdecimal-devel %endif %if %{with doc} -%if 0%{?suse_version} > 1500 +%if 0%{?sle_version} && 0%{?sle_version} <= 150300 BuildRequires: %{python_pkg_name}-Sphinx BuildRequires: %{python_pkg_name}-python-docs-theme BuildRequires: %{python_pkg_name}-sphinxcontrib-qthelp >= 1.0.2 +%else +BuildRequires: %{python_pkg_name}-Sphinx >= 3.2.0 %endif %endif %if %{with general}