Enable openais support in clvmd

This commit is contained in:
Fabio M. Di Nitto 2009-10-19 13:02:45 +00:00
parent 5c1b3e3b5a
commit 3e84fc7104

View File

@ -1,5 +1,6 @@
%define device_mapper_version 1.02.38 %define device_mapper_version 1.02.38
%define corosync_version 1.0.0-1 %define corosync_version 1.0.0-1
%define openais_version 1.1.0-1
%define clusterlib_version 3.0.0-20 %define clusterlib_version 3.0.0-20
# Do not reset Release to 1 unless both lvm2 and device-mapper # Do not reset Release to 1 unless both lvm2 and device-mapper
@ -8,7 +9,7 @@
Summary: Userland logical volume management tools Summary: Userland logical volume management tools
Name: lvm2 Name: lvm2
Version: 2.02.53 Version: 2.02.53
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2 License: GPLv2
Group: System Environment/Base Group: System Environment/Base
URL: http://sources.redhat.com/lvm2 URL: http://sources.redhat.com/lvm2
@ -21,6 +22,7 @@ BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
BuildRequires: readline-devel BuildRequires: readline-devel
BuildRequires: corosynclib-devel >= %{corosync_version} BuildRequires: corosynclib-devel >= %{corosync_version}
BuildRequires: openaislib-devel >= %{openais_version}
BuildRequires: clusterlib-devel >= %{clusterlib_version} BuildRequires: clusterlib-devel >= %{clusterlib_version}
BuildRequires: module-init-tools BuildRequires: module-init-tools
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -51,7 +53,7 @@ or more physical volumes and creating one or more logical volumes
%define _sbindir /sbin %define _sbindir /sbin
%define _libdir /%{_lib} %define _libdir /%{_lib}
%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd %configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,openais,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd
make %{?_smp_mflags} make %{?_smp_mflags}
@ -241,6 +243,7 @@ Requires(preun): chkconfig
Requires(preun): device-mapper >= %{device_mapper_version} Requires(preun): device-mapper >= %{device_mapper_version}
Requires(preun): lvm2 >= 2.02 Requires(preun): lvm2 >= 2.02
Requires: corosync >= %{corosync_version} Requires: corosync >= %{corosync_version}
Requires: openais >= %{openais_version}
Requires: clusterlib >= %{clusterlib_version} Requires: clusterlib >= %{clusterlib_version}
%description cluster %description cluster
@ -379,6 +382,9 @@ the device-mapper event library.
%changelog %changelog
* Mon Oct 19 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 2.02.53-3
- Enable openais support in clvmd.
* Fri Sep 25 2009 Alasdair Kergon <agk@redhat.com> - 2.02.53-2 * Fri Sep 25 2009 Alasdair Kergon <agk@redhat.com> - 2.02.53-2
- Reissued tarball to fix compilation warning from lvm2_log_fn prototype. - Reissued tarball to fix compilation warning from lvm2_log_fn prototype.