Try with dlm requirement

This commit is contained in:
Alasdair G Kergon 2012-02-01 16:47:43 +00:00
parent d2a259b46c
commit 8839498f73

View File

@ -52,6 +52,7 @@
%define configure_cluster --with-cluster=internal --with-clvmd=cman,openais,corosync
%else
%define corosync_version 1.99.1-1
%define dlm_version 3.99.0-1
%define configure_cluster --with-cluster=internal --with-clvmd=corosync
%else
%define configure_cluster --with-cluster=internal --with-clvmd=none
@ -83,6 +84,8 @@ BuildRequires: corosynclib-devel >= %{corosync_version}
%if %{enable_openais}
BuildRequires: openaislib-devel >= %{openais_version}
BuildRequires: clusterlib-devel >= %{clusterlib_version}
%else
BuildRequires: dlm-devel >= %{dlm_version}
%endif
%endif
BuildRequires: module-init-tools
@ -375,6 +378,8 @@ Requires: corosync >= %{corosync_version}
%if %{enable_openais}
Requires: openais >= %{openais_version}
Requires: cman >= %{clusterlib_version}
%else
Requires: dlm >= %{dlm_version}
%endif
%description cluster
@ -627,7 +632,7 @@ the device-mapper event library.
%changelog
* Wed Feb 1 2012 Alasdair Kergon <agk@redhat.com> - 2.02.90-1
- Drop support for cman, openais and cmirror for f17.
- Drop support for cman, openais and cmirror for f17. Require dlm not cluster.
- Automatically detect whether corosync clvmd needs to use confdb or cmap.
- Disable partial activation for thin LVs and LVs with all missing segments.
- sync_local_dev_names before (re)activating mirror log for initialisation.