- no InfiniBand stack on s390(x)
This commit is contained in:
parent
a976cdd22f
commit
39f48a390a
@ -3,7 +3,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.2.6
|
Version: 1.2.6
|
||||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 2%{?alphatag:.%{alphatag}}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://ftp.corosync.org
|
URL: http://ftp.corosync.org
|
||||||
@ -19,6 +19,13 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
|
|||||||
|
|
||||||
# Build bits
|
# Build bits
|
||||||
|
|
||||||
|
# no InfiniBand stack on s390(x)
|
||||||
|
%ifarch s390 s390x
|
||||||
|
%define have_ib 0
|
||||||
|
%else
|
||||||
|
%define have_ib 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%define buildtrunk 0
|
%define buildtrunk 0
|
||||||
%{?_with_buildtrunk: %define buildtrunk 1}
|
%{?_with_buildtrunk: %define buildtrunk 1}
|
||||||
|
|
||||||
@ -26,7 +33,9 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
|
|||||||
BuildRequires: autoconf automake
|
BuildRequires: autoconf automake
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: nss-devel
|
BuildRequires: nss-devel
|
||||||
|
%if %{have_ib}
|
||||||
BuildRequires: libibverbs-devel librdmacm-devel
|
BuildRequires: libibverbs-devel librdmacm-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
@ -39,13 +48,17 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
./autogen.sh
|
./autogen.sh
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{have_ib}
|
||||||
export ibverbs_CFLAGS=-I/usr/include/infiniband \
|
export ibverbs_CFLAGS=-I/usr/include/infiniband \
|
||||||
export ibverbs_LIBS=-libverbs \
|
export ibverbs_LIBS=-libverbs \
|
||||||
export rdmacm_CFLAGS=-I/usr/include/rdma \
|
export rdmacm_CFLAGS=-I/usr/include/rdma \
|
||||||
export rdmacm_LIBS=-lrdmacm \
|
export rdmacm_LIBS=-lrdmacm \
|
||||||
|
%endif
|
||||||
%{configure} \
|
%{configure} \
|
||||||
--enable-nss \
|
--enable-nss \
|
||||||
|
%if %{have_ib}
|
||||||
--enable-rdma \
|
--enable-rdma \
|
||||||
|
%endif
|
||||||
--with-initddir=%{_initrddir}
|
--with-initddir=%{_initrddir}
|
||||||
|
|
||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
@ -224,6 +237,9 @@ The Corosync Cluster Engine APIs.
|
|||||||
%{_mandir}/man8/sam_overview.8*
|
%{_mandir}/man8/sam_overview.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 9 2010 Dan Horák <dan[at]danny.cz> - 1.2.6-2
|
||||||
|
- no InfiniBand stack on s390(x)
|
||||||
|
|
||||||
* Mon Jul 5 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.2.6-1
|
* Mon Jul 5 2010 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.2.6-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
- Resync spec file with upstream changes
|
- Resync spec file with upstream changes
|
||||||
|
Loading…
Reference in New Issue
Block a user