[libvirt] [PATCH] spec: Drop polkit from {,Build}Requires:

Andrea Bolognani abologna at redhat.com
Wed Mar 14 16:31:39 UTC 2018


As of 2499d1a09508 we don't link against libpolkit or look for
the pkcheck command anymore, so these package relationships are
no longer necessary and can be safely dropped.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 libvirt.spec.in | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 5e05d706f8..e70cc02dc8 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -357,13 +357,6 @@ BuildRequires: radvd
 BuildRequires: ebtables
 BuildRequires: module-init-tools
 BuildRequires: cyrus-sasl-devel
-%if 0%{?fedora} || 0%{?rhel} >= 7
-# F22 polkit-devel doesn't pull in polkit anymore, which we need for pkcheck
-BuildRequires: polkit >= 0.112
-BuildRequires: polkit-devel >= 0.112
-%else
-BuildRequires: polkit-devel >= 0.93
-%endif
 # For mount/umount in FS driver
 BuildRequires: util-linux
 %if %{with_qemu}
@@ -489,11 +482,6 @@ Requires: module-init-tools
 # for /sbin/ip & /sbin/tc
 Requires: iproute
 Requires: avahi-libs
-%if 0%{?fedora} || 0%{?rhel} >= 7
-Requires: polkit >= 0.112
-%else
-Requires: polkit >= 0.93
-%endif
 %if %{with_cgconfig}
 Requires: libcgroup
 %endif
-- 
2.14.3




More information about the libvir-list mailing list