public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kea] rawhide: Use the default Sphinx theme for documentation
@ 2026-11-13  7:09 Karolina Surma
  0 siblings, 0 replies; only message in thread
From: Karolina Surma @ 2026-11-13  7:09 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/kea
            Branch : rawhide
            Commit : 90acde74e21e8fa49ede035b7cf59541c242a077
            Author : Karolina Surma <ksurma@redhat.com>
            Date   : 2026-11-12T12:52:14+01:00
            Stats  : +3/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/kea/c/90acde74e21e8fa49ede035b7cf59541c242a077?branch=rawhide

            Log:
            Use the default Sphinx theme for documentation

There's no features specific to sphinx_rtd_theme used in the docs build,
and the theme itself is unwanted in RHEL:
https://github.com/fedora-eln/eln/issues/657

---
diff --git a/kea.spec b/kea.spec
index 11cdc9e..2917bdd 100644
--- a/kea.spec
+++ b/kea.spec
@@ -81,7 +81,6 @@ BuildRequires: flex
 BuildRequires: systemd
 BuildRequires: systemd-rpm-macros
 BuildRequires: python3-sphinx
-BuildRequires: python3-sphinx_rtd_theme
 BuildRequires: openpgpverify
 
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@@ -147,6 +146,9 @@ ISC DHCP configurations to Kea.
 %autosetup -T -b2 -N -n %{keama_dir}
 %autosetup -p1 -n kea-%{version}
 
+# Don't set a theme, let Sphinx use its default instead of sphinx_rtd_theme
+sed -i "/^html_theme = 'sphinx_rtd_theme'/d" doc/sphinx/conf.py
+
 %build
 # This removes RPATH from binaries
 export KEA_PKG_TYPE_IN_CONFIGURE="rpm"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-13  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13  7:09 [rpms/kea] rawhide: Use the default Sphinx theme for documentation Karolina Surma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox