Build cluster only on x86_64 and i686 on RHEL.

This commit is contained in:
Milan Broz 2012-04-11 10:50:17 +02:00
parent fe5bdb9a27
commit 465b41248d

View File

@ -34,6 +34,21 @@
%define enable_openais 0
%define corosync_version 1.99.9-1
%else
%if 0%{?rhel}
%ifarch i686 x86_64
%define enable_cluster 1
%define enable_cmirror 1
%else
%define enable_cluster 0
%define enable_cmirror 0
%endif
%define enable_thin 1
%define enable_openais 0
%define enable_lvmetad 1
%define udev_version 176-1
%define corosync_version 1.99.9-1
%else
%define udev_version 176-1
%define enable_thin 1
%define enable_openais 0
@ -44,6 +59,7 @@
%endif
%endif
%endif
%endif
%if %{enable_cluster}
%if %{enable_cmirror}