Add F17 specific configure options (different corosync version).

This commit is contained in:
Peter Rajnoha 2012-03-19 09:42:52 +01:00
parent 86f493e916
commit bd25fb429c

View File

@ -5,6 +5,7 @@
%define enable_openais 1 %define enable_openais 1
%define enable_cmirror 1 %define enable_cmirror 1
%define enable_udev 1 %define enable_udev 1
%define enable_systemd 1
%define enable_lvmetad 0 %define enable_lvmetad 0
%if "%{fedora}" == "12" %if "%{fedora}" == "12"
@ -22,18 +23,22 @@
%define udev_version 158-1 %define udev_version 158-1
%else %else
%if "%{fedora}" == "15" %if "%{fedora}" == "15"
%define enable_systemd 1
%define udev_version 158-1 %define udev_version 158-1
%else %else
%if "%{fedora}" == "16" %if "%{fedora}" == "16"
%define enable_systemd 1
%define udev_version 158-1 %define udev_version 158-1
%else %else
%define enable_systemd 1 %if "%{fedora}" == "17"
%define enable_cmirror 1
%define udev_version 176-1 %define udev_version 176-1
%define enable_thin 1 %define enable_thin 1
%define enable_openais 0 %define enable_openais 0
%define corosync_version 1.99.1-1
%else
%define udev_version 176-1
%define enable_thin 1
%define enable_openais 0
%define corosync_version 1.99.8-1
%endif
%endif %endif
%endif %endif
%endif %endif
@ -52,7 +57,6 @@
%define clusterlib_version 3.0.6-1 %define clusterlib_version 3.0.6-1
%define configure_cluster --with-cluster=internal --with-clvmd=cman,openais,corosync %define configure_cluster --with-cluster=internal --with-clvmd=cman,openais,corosync
%else %else
%define corosync_version 1.99.8-1
%define dlm_version 3.99.0-1 %define dlm_version 3.99.0-1
%define configure_cluster --with-cluster=internal --with-clvmd=corosync %define configure_cluster --with-cluster=internal --with-clvmd=corosync
%endif %endif