From: Pavel Hrdina Date: Mon, 26 Sep 2022 16:33:20 +0000 (+0200) Subject: spec: add systemd-rpm-macros build dependency X-Git-Tag: v8.9.0-rc1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69045df5c422b51264ed741b0f8fe2b000fe122b;p=thirdparty%2Flibvirt.git spec: add systemd-rpm-macros build dependency 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 --- 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}