From 65288618bdf5fb1340f6328cf00617eaff99816867e1b9efdb03623a0ac4fa21 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 2 Aug 2021 12:35:59 +0000 Subject: [PATCH] - Use versioned python-Sphinx to avoid dependency on other version of Python (bsc#1183858). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=76 --- python38.changes | 6 ++++++ python38.spec | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python38.changes b/python38.changes index 6a8e6e8..18b8bb5 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 2 12:35:43 UTC 2021 - Matej Cepl + +- Use versioned python-Sphinx to avoid dependency on other + version of Python (bsc#1183858). + ------------------------------------------------------------------- Fri Jun 18 22:45:17 UTC 2021 - Matej Cepl diff --git a/python38.spec b/python38.spec index 20c7d33..3870ad5 100644 --- a/python38.spec +++ b/python38.spec @@ -175,12 +175,10 @@ BuildRequires: pkgconfig(libnsl) BuildRequires: pkgconfig(libtirpc) %endif %if %{with doc} -# Here we just run sphinx and we can use generic one, we don't need -# the flavor variant -BuildRequires: python3-Sphinx %if 0%{?suse_version} > 1500 -BuildRequires: python3-python-docs-theme -BuildRequires: python3-sphinxcontrib-qthelp >= 1.0.2 +BuildRequires: %{python_pkg_name}-Sphinx +BuildRequires: %{python_pkg_name}-python-docs-theme +BuildRequires: %{python_pkg_name}-sphinxcontrib-qthelp >= 1.0.2 %endif %endif %if %{with general}