public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/dbus] rawhide: Disable docs on RHEL
Date: Tue, 16 Jun 2026 17:28:25 GMT	[thread overview]
Message-ID: <178163090571.1.12732250892873413262.rpms-dbus-465fcc341cac@fedoraproject.org> (raw)

            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 \

                 reply	other threads:[~2026-06-16 17:28 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=178163090571.1.12732250892873413262.rpms-dbus-465fcc341cac@fedoraproject.org \
    --to=yselkowi@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