From 0896827c70e394527d09e26ab12c2751428439b0 Mon Sep 17 00:00:00 2001 From: Karolina Surma Date: Thu, 13 Jul 2023 11:28:02 +0200 Subject: [PATCH] Don't use sphinxcontrib-websupport to build the documentation on RHEL --- python-sphinx.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index d60e18a..a884fa3 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -1,6 +1,7 @@ -# When bootstrapping sphinx, we don't yet have sphinxcontrib-websupport +# When bootstrapping sphinx in Fedora, we don't yet have sphinxcontrib-websupport # Without it we have warnings in docs, but it's not a hard dependency -%bcond_without websupport +# We don't want to support sphinxcontrib-websupport in RHEL, hence disabling the dependency +%bcond websupport %{undefined rhel} # Also, we don't have all the tests requirements %bcond_without tests @@ -28,7 +29,7 @@ Name: python-sphinx #global prerel ... %global upstream_version %{general_version}%{?prerel} Version: %{general_version}%{?prerel:~%{prerel}} -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Summary: Python documentation generator @@ -360,6 +361,9 @@ mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib %changelog +* Thu Jul 13 2023 Karolina Surma - 1:6.2.1-2 +- Don't use websupport to build documentation on RHEL + * Mon Jun 26 2023 Karolina Surma - 1:6.2.1-1 - Update to 6.2.1 - Fixes rhbz#2188968