public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bind] rawhide: Remove reusing data on python3-sphinx_rtd_theme
@ 2026-12-01 10:08
0 siblings, 0 replies; only message in thread
From: @ 2026-12-01 10:08 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 10:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 10:08 [rpms/bind] rawhide: Remove reusing data on python3-sphinx_rtd_theme
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox