[libvirt PATCH 1/2] spec: add systemd-rpm-macros build dependency

Pavel Hrdina phrdina at redhat.com
Mon Sep 26 16:38:34 UTC 2022


We should explicitly depend on this package as we use some macros
defined by files that are installed from systemd-rpm-macros.

Currently the build works only because some of our other build
dependencies pull in systemd which will install systemd-rpm-macros if
rpm-build is installed as well.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 libvirt.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 654057bf57..0cc0f61630 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -293,6 +293,7 @@ BuildRequires: libblkid-devel >= 2.17
 # for augparse, optionally used in testing
 BuildRequires: augeas
 BuildRequires: systemd-devel >= 185
+BuildRequires: systemd-rpm-macros
 BuildRequires: libpciaccess-devel >= 0.10.9
 BuildRequires: yajl-devel
 %if %{with_sanlock}
-- 
2.37.3



More information about the libvir-list mailing list