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

Peter Krempa pkrempa at redhat.com
Wed Feb 26 13:21:11 UTC 2014


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




More information about the libvir-list mailing list