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