[lvm2] Fix spec file conditional for non-rawhide releases.

Peter Rajnoha prajnoha at fedoraproject.org
Wed Jul 4 07:14:16 UTC 2012


commit 870a3872da070d23a3fcd7a1a450f1fd06fb0238
Author: Peter Rajnoha <prajnoha at redhat.com>
Date:   Wed Jul 4 09:13:32 2012 +0200

    Fix spec file conditional for non-rawhide releases.

 lvm2.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lvm2.spec b/lvm2.spec
index 6c9b6ca..4cf7ea6 100644
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -13,7 +13,8 @@
 %define udev_systemd_merge 0
 %define corosync_version 1.99.9-1
 %define enable_lvmetad 0
-%else %if 0%{?rhel}
+%else
+%if 0%{?rhel}
   %ifarch i686 x86_64
     %define enable_cluster 1
     %define enable_cmirror 1
@@ -29,6 +30,7 @@
 %define persistent_data_version 0.1.4
 %define corosync_version 1.99.9-1
 %endif
+%endif
 
 %if %{enable_cluster}
 %if %{enable_cmirror}


More information about the scm-commits mailing list