From: Daniel Veillard Date: Thu, 29 Dec 2011 13:13:22 +0000 (+0800) Subject: Require avahi as an rpm dependancy X-Git-Tag: v0.9.9-rc1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbc7025942fa25048001ba1459a129495113cf06;p=thirdparty%2Flibvirt.git Require avahi as an rpm dependancy As seen in https://bugzilla.redhat.com/show_bug.cgi?id=746111 If compiled with the daemon and avahi support, then it's better to require avahi at the rpm level to avoid daemon startup errors. --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 5537c51512..4b98e4acf4 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -272,6 +272,9 @@ Requires: %{name}-client = %{version}-%{release} Requires: module-init-tools # for /sbin/ip & /sbin/tc Requires: iproute +%if %{with_avahi} +Requires: avahi +%endif %endif %if %{with_network} Requires: dnsmasq >= 2.41