public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dbus] rawhide: Disable docs on RHEL
@ 2026-06-16 17:28 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-16 17:28 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/dbus
            Branch : rawhide
            Commit : 465fcc341cac054df52ac50adccc9f250fa91f6d
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-15T20:18:35-04:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/dbus/c/465fcc341cac054df52ac50adccc9f250fa91f6d?branch=rawhide

            Log:
            Disable docs on RHEL

The design docs require python-mallard-ducktype, which has not seen any
upstream activity since 2019.

https://github.com/fedora-eln/eln/issues/545

---
diff --git a/dbus.spec b/dbus.spec
index 7553e47..6760d84 100644
--- a/dbus.spec
+++ b/dbus.spec
@@ -15,6 +15,9 @@
 %bcond check 0
 # Allow cmake support to be disabled. #1497257
 %bcond cmake 1
+# API documentation requires doxygen
+# Design documentation requires ducktype, yelp-tools
+%bcond docs %{undefined rhel}
 
 Name:    dbus
 Epoch:   1
@@ -49,10 +52,12 @@ BuildRequires: pkgconfig(expat)
 BuildRequires: pkgconfig(libselinux) >= %{libselinux_version}
 BuildRequires: pkgconfig(libsystemd)
 BuildRequires: pkgconfig(systemd)
+%if %{with docs}
 BuildRequires: doxygen
 # For Ducktype documentation.
 BuildRequires: /usr/bin/ducktype
 BuildRequires: /usr/bin/yelp-build
+%endif
 # For building XML documentation.
 BuildRequires: /usr/bin/xsltproc
 BuildRequires: xmlto
@@ -178,8 +183,8 @@ CONFIG_OPTIONS=(
 %global _vpath_builddir build
 %meson \
   "${CONFIG_OPTIONS[@]}" \
-  -Ddoxygen_docs=enabled \
-  -Dducktype_docs=enabled \
+  -Ddoxygen_docs=%{?with_docs:enabled}%{!?with_docs:disabled} \
+  -Dducktype_docs=%{?with_docs:enabled}%{!?with_docs:disabled} \
   -Dxml_docs=enabled \
   -Dasserts=false \
   -Dqt_help=disabled \

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

only message in thread, other threads:[~2026-06-16 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 17:28 [rpms/dbus] rawhide: Disable docs on RHEL Yaakov Selkowitz

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