Re: [PATCH 3/3] spec: fix sanlock dependency

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

 



On Mon, Dec 05, 2011 at 10:38:51AM -0700, Eric Blake wrote:
> * libvirt.spec.in (with_sanlock): On RHEL, don't force sanlock
> on architectures where it isn't available.
> ---
>  libvirt.spec.in |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index 35762a5..39c814a 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -174,8 +174,14 @@
>  %endif
> 
>  # Enable sanlock library for lock management with QEMU
> -%if 0%{?fedora} >= 16 || 0%{?rhel} >= 6
> -%define with_sanlock  0%{!?_without_sanlock:%{server_drivers}}
> ++# Sanlock is available only on i686 x86_64 for RHEL
> +%if 0%{?fedora} >= 16
> +%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
> +%endif
> +%if 0%{?rhel} >= 6
> +%ifnarch i386 i586 i686 x86_64
> +%define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
> +%endif
>  %endif
> 
>  # Disable some drivers when building without libvirt daemon.

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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