public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karolina Surma <ksurma@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/kea] rawhide: Use the default Sphinx theme for documentation
Date: Fri, 13 Nov 2026 07:09:04 GMT	[thread overview]
Message-ID: <179455374482.1.17278152315799412015.rpms-kea-90acde74e21e@fedoraproject.org> (raw)

            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"

                 reply	other threads:[~2026-11-13  7:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179455374482.1.17278152315799412015.rpms-kea-90acde74e21e@fedoraproject.org \
    --to=ksurma@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox