]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: don't require avahi during install
authorLaine Stump <laine@laine.org>
Tue, 7 Feb 2012 09:54:59 +0000 (04:54 -0500)
committerLaine Stump <laine@laine.org>
Tue, 7 Feb 2012 19:24:05 +0000 (14:24 -0500)
See: https://bugzilla.redhat.com/show_bug.cgi?id=785269

The specfile requires avahi during install if libvirt was built with
avahi support, but there are many situations where it is undesirable
to install avahi due to security concerns. This patch requires only
the avahi-libs package, which is needed by libvirt to call the
function that tries to attach to the avahi daemon, but will instead
silently fail because the avahi-daemon is in the main avahi package,
and that package isn't installed.

libvirt.spec.in

index f279d6dd3a338ce97a33603454f4ed4037d78e93..62b0ed474df67f986a1f6637f2d73f02cd312811 100644 (file)
@@ -273,7 +273,7 @@ Requires: module-init-tools
 # for /sbin/ip & /sbin/tc
 Requires: iproute
 %if %{with_avahi}
-Requires: avahi
+Requires: avahi-libs
 %endif
 %endif
 %if %{with_network}