Don't use sphinxcontrib-websupport to build the documentation on RHEL

This commit is contained in:
Karolina Surma 2023-07-13 11:28:02 +02:00
parent d236f3e2ec
commit 0896827c70

View File

@ -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 <ksurma@redhat.com> - 1:6.2.1-2
- Don't use websupport to build documentation on RHEL
* Mon Jun 26 2023 Karolina Surma <ksurma@redhat.com> - 1:6.2.1-1
- Update to 6.2.1
- Fixes rhbz#2188968