mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-02 04:15:46 +00:00
build: require avahi instead of avahi-libs on rhel5.
On rhel5, libs of avahi are packaged into avahi instead of avahi-libs. Actually, there is no avahi-libs package shipped with rhel5. This patch fixes this by requiring avahi on rhel5.
This commit is contained in:
parent
439b72ecf5
commit
8a883b0c1e
@ -615,8 +615,12 @@ Requires: module-init-tools
|
|||||||
# for /sbin/ip & /sbin/tc
|
# for /sbin/ip & /sbin/tc
|
||||||
Requires: iproute
|
Requires: iproute
|
||||||
%if %{with_avahi}
|
%if %{with_avahi}
|
||||||
|
%if 0%{?rhel} == 5
|
||||||
|
Requires: avahi
|
||||||
|
%else
|
||||||
Requires: avahi-libs
|
Requires: avahi-libs
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%if %{with_network}
|
%if %{with_network}
|
||||||
Requires: dnsmasq >= 2.41
|
Requires: dnsmasq >= 2.41
|
||||||
Requires: radvd
|
Requires: radvd
|
||||||
|
Loading…
Reference in New Issue
Block a user