]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
spec: require dbus-daemon when using libvirtd in Fedora
authorEric Blake <eblake@redhat.com>
Wed, 5 Dec 2012 03:43:05 +0000 (20:43 -0700)
committerGuannan Ren <gren@redhat.com>
Wed, 5 Dec 2012 08:13:12 +0000 (16:13 +0800)
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.

libvirt.spec.in

index ec6fc8b7353478cb36f57aa91a9f126300487a9b..c4c96e490fdd0c933f222bb2183e82b17da14821 100644 (file)
@@ -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