public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bind] rawhide: Remove reusing data on python3-sphinx_rtd_theme
Date: Tue, 01 Dec 2026 10:08:26 GMT	[thread overview]
Message-ID: <179611970662.1.2206402732025619919.rpms-bind-905dfd69b0cf@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/bind
            Branch : rawhide
            Commit : 905dfd69b0cfc14836307dd10e61032682aa1c5e
            Author : Petr Menšík <pemensik@redhat.com>
            Date   : 2026-11-30T12:35:20+01:00
            Stats  : +1/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bind/c/905dfd69b0cfc14836307dd10e61032682aa1c5e?branch=rawhide

            Log:
            Remove reusing data on python3-sphinx_rtd_theme

This theme might not be always present. Allow simpler building with some
built-in theme instead.

---
diff --git a/bind.spec b/bind.spec
index 5ca2060..09356b0 100644
--- a/bind.spec
+++ b/bind.spec
@@ -372,7 +372,6 @@ jemalloc in named service.
 %if %{with DOC}
 %package doc
 Summary:   BIND 9 Administrator Reference Manual
-Requires:  python3-sphinx_rtd_theme
 BuildArch: noarch
 
 %description doc
@@ -664,17 +663,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_pkgdocdir}
 cp -a doc/arm/_build/html ${RPM_BUILD_ROOT}%{_pkgdocdir}
 rm -rf ${RPM_BUILD_ROOT}%{_pkgdocdir}/html/.{buildinfo,doctrees}
 # Backward compatible link to 9.11 documentation
-(cd ${RPM_BUILD_ROOT}%{_pkgdocdir} && ln -s html/index.html Bv9ARM.html)
-# Share static data from original sphinx package
-for DIR in %{python3_sitelib}/sphinx_rtd_theme/static/*
-do
-  BASE=$(basename -- "$DIR")
-  BINDTHEMEDIR="${RPM_BUILD_ROOT}%{_pkgdocdir}/html/_static/$BASE"
-  if [ -d "$BINDTHEMEDIR" ]; then
-    rm -rf "$BINDTHEMEDIR"
-    ln -sr "${RPM_BUILD_ROOT}${DIR}" "$BINDTHEMEDIR"
-  fi
-done
+ln -s html/index.html ${RPM_BUILD_ROOT}%{_pkgdocdir}/Bv9ARM.html
 cp -p doc/arm/_build/epub/Bv9ARM.epub ${RPM_BUILD_ROOT}%{_pkgdocdir}
 %endif
 

                 reply	other threads:[~2026-12-01 10:08 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=179611970662.1.2206402732025619919.rpms-bind-905dfd69b0cf@fedoraproject.org \
    --to=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