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

Re: [libvirt] [PATCH] spec: Fix braces around macros



On Wed, Feb 26, 2014 at 02:21:11PM +0100, Peter Krempa wrote:
> In commit 72f7658ba24491672e6b81118f892400916e9404 I've added a few
> macros with bad bracing. Although they work as expected fix them so that
> we use uniform syntax.
> ---
>  libvirt.spec.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libvirt.spec.in b/libvirt.spec.in
> index fae4bb7..ef3b832 100644
> --- a/libvirt.spec.in
> +++ b/libvirt.spec.in
> @@ -98,7 +98,7 @@
>  %else
>      %define with_storage_sheepdog 0
>  %endif
> -%if 0%{?fedora} >= 19 || 0%{?rhel >= 6}
> +%if 0%{?fedora} >= 19 || 0%{?rhel} >= 6
>      %define with_storage_gluster 0%{!?_without_storage_gluster:%{server_drivers}}
>  %else
>      %define with_storage_gluster 0
> @@ -155,7 +155,7 @@
>
>  # libgfapi is built only on x86_64 on rhel
>  %ifnarch x86_64
> -    %if 0%{?rhel >= 6}
> +    %if 0%{?rhel} >= 6
>          %define with_storage_gluster 0
>      %endif
>  %endif
> --
> 1.8.5.5
>

ACK, thanks.

Martin

Attachment: signature.asc
Description: Digital signature


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