New upstream release, enable InfiniBand support

This commit is contained in:
Fabio M. Di Nitto 2009-09-25 09:52:16 +00:00
parent 3e9e2ce9f5
commit bbe1b81942
3 changed files with 19 additions and 4 deletions

View File

@ -1 +1 @@
corosync-1.0.1.tar.gz corosync-1.1.0.tar.gz

View File

@ -2,7 +2,7 @@
Name: corosync Name: corosync
Summary: The Corosync Cluster Engine and Application Programming Interfaces Summary: The Corosync Cluster Engine and Application Programming Interfaces
Version: 1.0.1 Version: 1.1.0
Release: 1%{?alphatag:.%{alphatag}}%{?dist} Release: 1%{?alphatag:.%{alphatag}}%{?dist}
License: BSD License: BSD
Group: System Environment/Base Group: System Environment/Base
@ -24,6 +24,7 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
BuildRequires: autoconf automake BuildRequires: autoconf automake
%endif %endif
BuildRequires: nss-devel BuildRequires: nss-devel
BuildRequires: libibverbs-devel librdmacm-devel
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@ -34,7 +35,13 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
./autogen.sh ./autogen.sh
%endif %endif
%{configure} export ibverbs_CFLAGS=-I/usr/include/infiniband \
export ibverbs_LIBS=-libverbs \
export rdmacm_CFLAGS=-I/usr/include/rdma \
export rdmacm_LIBS=-lrdmacm \
%{configure} \
--enable-nss \
--enable-rdma
%build %build
make %{_smp_mflags} make %{_smp_mflags}
@ -80,6 +87,8 @@ fi
%{_sbindir}/corosync-cfgtool %{_sbindir}/corosync-cfgtool
%{_sbindir}/corosync-fplay %{_sbindir}/corosync-fplay
%{_sbindir}/corosync-pload %{_sbindir}/corosync-pload
%{_sbindir}/corosync-cpgtool
%{_sbindir}/corosync-quorumtool
%dir %{_sysconfdir}/corosync %dir %{_sysconfdir}/corosync
%dir %{_sysconfdir}/corosync/uidgid.d %dir %{_sysconfdir}/corosync/uidgid.d
%config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example %config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
@ -199,6 +208,12 @@ The Corosync Cluster Engine APIs.
%{_mandir}/man8/coroipc_overview.8* %{_mandir}/man8/coroipc_overview.8*
%changelog %changelog
* Fri Sep 25 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.0-1
- New upstream release
- spec file updates:
* enable IB support
* explicitly define built-in features at configure time
* Tue Sep 22 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.1-1 * Tue Sep 22 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.1-1
- New upstream release - New upstream release
- spec file updates: - spec file updates:

View File

@ -1 +1 @@
75fe306a8e23c31a3b0a42798e01e466 corosync-1.0.1.tar.gz f1ae40281356446d1af31a75068ec3d0 corosync-1.1.0.tar.gz