Re: [PATCH] build: require avahi instead of avahi-libs on rhel5.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/10/2013 05:44 AM, Yufang Zhang wrote:
> 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.
> ---
>  libvirt.spec.in |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)

ACK and pushed (and I'll have to rebase my %if indentation patch
accordingly).

> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index d095eac..3362d3f 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -615,8 +615,12 @@ Requires: module-init-tools
>  # for /sbin/ip & /sbin/tc
>  Requires: iproute
>  %if %{with_avahi}
> +%if 0%{?rhel} == 5
> +Requires: avahi
> +%else
>  Requires: avahi-libs
>  %endif
> +%endif
>  %if %{with_network}
>  Requires: dnsmasq >= 2.41
>  Requires: radvd
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]