summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaine Stump <laine@laine.org>2012-02-07 04:54:59 -0500
committerLaine Stump <laine@laine.org>2012-02-07 14:24:05 -0500
commit60f190735c29f0b753ddc08591662b037ba95728 (patch)
treeb5d1c11efa74faae3e98e8262fd48402b6452104
parentAllow polkit auth for VNC and SSH users (diff)
downloadlibvirt-60f190735c29f0b753ddc08591662b037ba95728.tar.gz
libvirt-60f190735c29f0b753ddc08591662b037ba95728.tar.bz2
libvirt-60f190735c29f0b753ddc08591662b037ba95728.zip
build: don't require avahi during install
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.
-rw-r--r--libvirt.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in
index f279d6dd3..62b0ed474 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -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}