[libvirt] [PATCH] spec: RHEL-7 does not have sanlock on i686

Eric Blake eblake at redhat.com
Tue Jul 30 12:53:19 UTC 2013


On 07/30/2013 05:46 AM, Jiri Denemark wrote:
> ---
>  libvirt.spec.in | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

ACK.

>  %if 0%{?fedora} >= 16
>      %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
>  %endif
> -%if 0%{?rhel} >= 6
> +%if 0%{?rhel} == 6
>      %ifarch %{ix86} x86_64
>          %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
>      %endif
>  %endif
> +%if 0%{?rhel} >= 7
> +    %ifarch x86_64
> +        %define with_sanlock 0%{!?_without_sanlock:%{server_drivers}}
> +    %endif
> +%endif

It feels a bit redundant, but I don't see any more compact way to
combine conditionals.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130730/f5b7ed28/attachment-0001.sig>


More information about the libvir-list mailing list