diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-08-22 10:21:48 -0400 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-08-22 21:12:25 +0000 |
commit | 2c1ddc55d1de154e072710fee18652977c832fa9 (patch) | |
tree | 7cc7a98e464e39189ab1da44752ec4adaa0f5d7c | |
parent | 5f3ff9b33c286b30f2c6d2fadf53757b9f48859e (diff) | |
download | glusterfs-2c1ddc55d1de154e072710fee18652977c832fa9.tar.gz glusterfs-2c1ddc55d1de154e072710fee18652977c832fa9.tar.xz glusterfs-2c1ddc55d1de154e072710fee18652977c832fa9.zip |
packaging: use rdma-core(-devel) instead of ibverbs, rdmacm
Also disable rdma on armv7hl.
Starting in Fedora 26 the rdma-core package replaces various
(lib)ibverbs and (lib)rdmacm packages.
Also apparently rdma never actually worked (even if ibverbs and
rdmacm packages were built) for armv7hl. The new rdma-core excludes
armv7hl.
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/WJHXQ3G6H7UMVERDCMUXBYDJTFABTGW3/
and https://bugzilla.redhat.com/show_bug.cgi?id=1483278
Even though rdma-core dates back to Fedora 26 this only makes the
switch to rdma-core effective with Fedora 27 and later; rdma-core has
Provides: (and Obsoletes:) for all the ibverbs and rdmacm packages
which is why we haven't noticed this before now.
Change-Id: I3cd4f2becb465569b2c8e5514d28c9adff534d26
BUG: 1483995
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/18088
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
-rw-r--r-- | glusterfs.spec.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 039a93c43b..3a91f4ca41 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -26,7 +26,7 @@ %{?_without_rdma:%global _without_rdma --disable-ibverbs} # No RDMA Support on s390(x) -%ifarch s390 s390x +%ifarch s390 s390x armv7hl %global _without_rdma --disable-ibverbs %endif @@ -479,8 +479,12 @@ Obsoletes: python-gluster < 3.10 %package rdma Summary: GlusterFS rdma support for ib-verbs Group: Applications/File +%if ( 0%{?fedora} && 0%{?fedora} > 26 ) +BuildRequires: rdma-core-devel +%else BuildRequires: libibverbs-devel BuildRequires: librdmacm-devel >= 1.0.15 +%endif Requires: %{name}%{?_isa} = %{version}-%{release} %description rdma @@ -1375,6 +1379,9 @@ exit 0 %endif %changelog +* Tue Aug 22 2017 Kaleb S. KEITHLEY <kkeithle@redhat.com> +- libibverbs-devel, librdmacm-devel -> rdma-core-devel #1483995 + * Thu Jul 20 2017 Aravinda VK <avishwan@redhat.com> - Added new tool/binary to set the gfid2path xattr on files |