rpms/corosync/devel corosync.spec,1.42,1.43
Dan Horák
sharkcz at fedoraproject.org
Fri Jul 9 11:10:57 UTC 2010
- Previous message: rpms/wxGTK/EL-6 wx-config,NONE,1.1 wxGTK.spec,1.52,1.53
- Next message: rpms/pure/EL-6 .cvsignore,1.2,1.3 pure.spec,1.1,1.2 sources,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sharkcz
Update of /cvs/pkgs/rpms/corosync/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31261
Modified Files:
corosync.spec
Log Message:
* Fri Jul 9 2010 Dan Horák <dan[at]danny.cz> - 1.2.6-2
- no InfiniBand stack on s390(x)
Index: corosync.spec
===================================================================
RCS file: /cvs/pkgs/rpms/corosync/devel/corosync.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -r1.42 -r1.43
--- corosync.spec 5 Jul 2010 12:15:34 -0000 1.42
+++ corosync.spec 9 Jul 2010 11:10:57 -0000 1.43
@@ -3,7 +3,7 @@
Name: corosync
Summary: The Corosync Cluster Engine and Application Programming Interfaces
Version: 1.2.6
-Release: 1%{?alphatag:.%{alphatag}}%{?dist}
+Release: 2%{?alphatag:.%{alphatag}}%{?dist}
License: BSD
Group: System Environment/Base
URL: http://ftp.corosync.org
@@ -19,6 +19,13 @@ Conflicts: openais <= 0.89, openais-deve
# Build bits
+# no InfiniBand stack on s390(x)
+%ifarch s390 s390x
+%define have_ib 0
+%else
+%define have_ib 1
+%endif
+
%define buildtrunk 0
%{?_with_buildtrunk: %define buildtrunk 1}
@@ -26,7 +33,9 @@ Conflicts: openais <= 0.89, openais-deve
BuildRequires: autoconf automake
%endif
BuildRequires: nss-devel
+%if %{have_ib}
BuildRequires: libibverbs-devel librdmacm-devel
+%endif
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -39,13 +48,17 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{na
./autogen.sh
%endif
+%if %{have_ib}
export ibverbs_CFLAGS=-I/usr/include/infiniband \
export ibverbs_LIBS=-libverbs \
export rdmacm_CFLAGS=-I/usr/include/rdma \
export rdmacm_LIBS=-lrdmacm \
+%endif
%{configure} \
--enable-nss \
+%if %{have_ib}
--enable-rdma \
+%endif
--with-initddir=%{_initrddir}
make %{_smp_mflags}
@@ -224,6 +237,9 @@ The Corosync Cluster Engine APIs.
%{_mandir}/man8/sam_overview.8*
%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 at redhat.com> - 1.2.6-1
- New upstream release
- Resync spec file with upstream changes
- Previous message: rpms/wxGTK/EL-6 wx-config,NONE,1.1 wxGTK.spec,1.52,1.53
- Next message: rpms/pure/EL-6 .cvsignore,1.2,1.3 pure.spec,1.1,1.2 sources,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list