]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: dbus-devel is needed as build dependency if polkit support is enabled
authorMichael Chapman <mike@very.puzzling.org>
Thu, 31 Dec 2015 05:09:11 +0000 (16:09 +1100)
committerLaine Stump <laine@laine.org>
Tue, 5 Jan 2016 20:48:06 +0000 (15:48 -0500)
Signed-off-by: Michael Chapman <mike@very.puzzling.org>
libvirt.spec.in

index 619317779b7cf7ef66362cdf6a120de1dde5e55a..c32e8998354afa55741ab0255356b93ba3eac14d 100644 (file)
@@ -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