[libvirt] [PATCHv2 2/2] spec: require dbus-daemon when using libvirtd in Fedora

Guannan Ren gren at redhat.com
Wed Dec 5 08:14:48 UTC 2012


On 12/05/2012 11:43 AM, Eric Blake wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=830201
>
> In older Fedora, the spec file for libivrt depended on avahi, which
> included avahi-daemon, which in turn depended on dbus.  But now that
> avahi libs and avahi-daemon are (correctly) in separate pacakges,
> and since we REALLY don't want a mandatory dependency on avahi-daemon,
> and considering that our init scripts require the messagebus service
> from dbus, we need to explicitly require dbus ourselves.
>
> * libvirt.spec.in (Requires): Add dbus for libvirt-daemon.
> ---
>
> v2: no change
>
>   libvirt.spec.in |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index ec6fc8b..c4c96e4 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -712,6 +712,8 @@ Requires(postun): systemd-units
>   %if %{with_numad}
>   Requires: numad
>   %endif
> +# libvirtd depends on 'messagebus' service
> +Requires: dbus
>
>   %description daemon
>   Server side daemon required to manage the virtualization capabilities

      These two patches is pushed.





More information about the libvir-list mailing list