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/diskimage-builder] rawhide: Fix dependencies
Date: Mon, 13 Jul 2026 03:09:27 GMT	[thread overview]
Message-ID: <178391216748.1.10963183330890607241.rpms-diskimage-builder-eb7e786063e5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/diskimage-builder
            Branch : rawhide
            Commit : eb7e786063e5b49e3ddf218f3e8716fc38e7d311
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-12T23:07:59-04:00
            Stats  : +9/-11 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/diskimage-builder/c/eb7e786063e5b49e3ddf218f3e8716fc38e7d311?branch=rawhide

            Log:
            Fix dependencies

BuildRequires and Requires directives must be listed before %description,
otherwise they are taken to be text (part of the description), and not
included in dependencies.

---
diff --git a/diskimage-builder.spec b/diskimage-builder.spec
index 5c19ad7..acc5588 100644
--- a/diskimage-builder.spec
+++ b/diskimage-builder.spec
@@ -1,6 +1,10 @@
 %global sources_gpg 1
 %global sources_gpg_sign 0x30566c450e41d7c91e442dfb231f942f608ddeff
 
+%global __requires_exclude /usr/local/bin/dib-python
+%global __requires_exclude %{__requires_exclude}|/sbin/runscript
+%global __requires_exclude %{__requires_exclude}|/sbin/openrc-run
+
 Name:           diskimage-builder
 Summary:        Image building tools for OpenStack
 Version:        3.42.0
@@ -17,17 +21,12 @@ Source102:        https://releases.openstack.org/_static/%{sources_gpg_sign}.txt
 
 BuildRequires: git-core
 BuildRequires: python3-devel
-
-BuildArch: noarch
-
-
-%description
-Components of TripleO that are responsible for building disk images.
-
 %if 0%{?sources_gpg} == 1
-BuildRequires:  /usr/bin/gpgv2
+BuildRequires: /usr/bin/gpgv2
 %endif
 
+BuildArch: noarch
+
 Requires: kpartx
 Requires: qemu-img
 Requires: curl
@@ -45,9 +44,8 @@ Requires: /bin/bash
 Requires: /bin/sh
 Requires: /usr/bin/env
 
-%global __requires_exclude /usr/local/bin/dib-python
-%global __requires_exclude %__requires_exclude|/sbin/runscript
-%global __requires_exclude %__requires_exclude|/sbin/openrc-run
+%description
+Components of TripleO that are responsible for building disk images.
 
 
 %prep

                 reply	other threads:[~2026-07-13  3: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=178391216748.1.10963183330890607241.rpms-diskimage-builder-eb7e786063e5@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