kea fails to build docs with Sphinx 5+ (#2105931)

This commit is contained in:
Martin Osvald 2022-07-21 12:25:24 +02:00
parent b51b8b9058
commit 86b26e7e39
2 changed files with 21 additions and 1 deletions

View File

@ -6,7 +6,7 @@
Name: kea
Version: 2.0.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: DHCPv4, DHCPv6 and DDNS server from ISC
License: MPLv2.0 and Boost
@ -18,6 +18,10 @@ Source3: kea-dhcp-ddns.service
Source4: kea-ctrl-agent.service
Patch3: kea-openssl-version.patch
# Temporary patch from experimental development version 2.1.7
# https://bugzilla.redhat.com/show_bug.cgi?id=2105931
# https://github.com/isc-projects/kea/commit/d9ee88c1e61a386fa734a8224ecf77a06b1647ca
Patch4: spell-check-sphinx.patch
# autoreconf
BuildRequires: autoconf automake libtool
@ -219,6 +223,9 @@ EOF
%changelog
* Thu Jul 21 2022 Martin Osvald <mosvald@redhat.com> - 2.0.2-4
- kea fails to build docs with Sphinx 5+ (#2105931)
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.2-3
- Rebuilt for Python 3.11

13
spell-check-sphinx.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index 8a6c778..6cbc638 100644
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -77,7 +77,7 @@ messages_doc = 'kea-messages'
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
-language = None
+language = "en"
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.