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

Daniel P. Berrangé berrange at redhat.com
Thu Mar 15 09:00:42 UTC 2018


On Wed, Mar 14, 2018 at 05:31:39PM +0100, Andrea Bolognani wrote:
> 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.

We still require polkit to be installed - the "polkit" RPM is what
provides the DBus service we talk to.

> 
> 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
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list