From c0617421ab3269eb3b10415c7e4b21a5e6a5b5c2 Mon Sep 17 00:00:00 2001 From: Michael Chapman Date: Thu, 31 Dec 2015 16:09:11 +1100 Subject: [PATCH] spec: dbus-devel is needed as build dependency if polkit support is enabled Signed-off-by: Michael Chapman --- libvirt.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 619317779b..c32e899835 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -647,8 +647,8 @@ BuildRequires: util-linux BuildRequires: nfs-utils %endif -%if %{with_firewalld} -# Communication with the firewall daemon uses DBus +%if %{with_firewalld} || %{with_polkit} +# Communication with the firewall and polkit daemons use DBus BuildRequires: dbus-devel %endif -- GitLab