From 69045df5c422b51264ed741b0f8fe2b000fe122b Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Mon, 26 Sep 2022 18:33:20 +0200 Subject: [PATCH] spec: add systemd-rpm-macros build dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Ján Tomko --- libvirt.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index f7d3931b6e..950c5a3b6d 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}