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.
This commit is contained in:
Daniel Veillard 2011-12-29 21:13:22 +08:00
parent b2310b2913
commit cbc7025942

View File

@ -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