[libvirt] [PATCH] spec: Fix braces around macros
Martin Kletzander
mkletzan at redhat.com
Wed Feb 26 13:27:25 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140226/6f13eaf5/attachment-0001.sig>
More information about the libvir-list
mailing list