# HG changeset patch
# User Keisuke MORI <kskmori@intellilink.co.jp>
# Date 1331283338 -32400
# Node ID 2e5950af9624c0472f2a4b28fe0a7ba2d4c55970
# Parent  bce0f5e5e6abee3655eec494e63d679f24203c51
build: correct a build dependency on CentOS6/RHEL6

diff -r bce0f5e5e6ab -r 2e5950af9624 cluster-glue-fedora.spec
--- a/cluster-glue-fedora.spec	Mon Feb 27 11:01:12 2012 +0100
+++ b/cluster-glue-fedora.spec	Fri Mar 09 17:55:38 2012 +0900
@@ -53,10 +53,10 @@
 BuildRequires:    gcc-c++
 %endif
 
-%if 0%{?fedora} < 12
+%if 0%{?fedora} > 11 || 0%{?centos} > 5 || 0%{?rhel} > 5
+BuildRequires: libuuid-devel
+%else
 BuildRequires: e2fsprogs-devel
-%else
-BuildRequires: libuuid-devel
 %endif
 
 %prep
