]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: add systemd-rpm-macros build dependency
authorPavel Hrdina <phrdina@redhat.com>
Mon, 26 Sep 2022 16:33:20 +0000 (18:33 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 3 Oct 2022 10:05:06 +0000 (12:05 +0200)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
libvirt.spec.in

index f7d3931b6ef6916de8aa00cfa4e4badb277bf8ec..950c5a3b6d4cb3e407030bc1a0f8d2a6e4adca71 100644 (file)
@@ -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}