From 870a3872da070d23a3fcd7a1a450f1fd06fb0238 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 4 Jul 2012 09:13:32 +0200 Subject: [PATCH] Fix spec file conditional for non-rawhide releases. --- lvm2.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}