From 84f175fc8899219d4b2e1130153ac64d4f332be1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 03 2016 05:50:23 +0000 Subject: import dapl-2.1.5-2.el7 --- diff --git a/SOURCES/0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch b/SOURCES/0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch new file mode 100644 index 0000000..7715e72 --- /dev/null +++ b/SOURCES/0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch @@ -0,0 +1,30 @@ +From 5a1d9e7f386335dcae676b372269a061e6f5294b Mon Sep 17 00:00:00 2001 +From: Carol L Soto +Date: Mon, 24 Aug 2015 12:58:58 -0700 +Subject: [PATCH] dapltest: dapltest with no argument not working in ppc64 arch + +If dapltest is run with no args then the client was getting +Warning: conn_event_wait DAT_CONNECTION_EVENT_NON_PEER_REJECTED +Reference to RH1056487- dapltest Read and Write performance +tests are not working + +Signed-off-by: Carol L Soto +--- + test/dapltest/cmd/dapl_params.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/test/dapltest/cmd/dapl_params.c b/test/dapltest/cmd/dapl_params.c +index f038324..fc4697b 100644 +--- a/test/dapltest/cmd/dapl_params.c ++++ b/test/dapltest/cmd/dapl_params.c +@@ -72,6 +72,7 @@ bool DT_Params_Parse(int argc, char *argv[], Params_t * params_ptr) + DT_Mdep_printf("can't get default device name\n"); + return false; + } ++ params_ptr->server_port = Server_Cmd->port; + return true; + } + /* check for a script file */ +-- +2.7.3 + diff --git a/SPECS/dapl.spec b/SPECS/dapl.spec index e2cd17f..118410b 100644 --- a/SPECS/dapl.spec +++ b/SPECS/dapl.spec @@ -1,11 +1,12 @@ Name: dapl Version: 2.1.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library providing access to the DAT 2.0 API Group: System Environment/Libraries License: GPLv2 or BSD or CPL Url: https://www.openfabrics.org/ Source0: https://www.openfabrics.org/downloads/dapl/dapl-%{version}.tar.gz +Patch1: 0001-dapltest-dapltest-with-no-argument-not-working-in-pp.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -45,6 +46,7 @@ Useful test suites to validate the dapl library API's and operation. %setup -q #aclocal -I config && libtoolize --force --copy && autoheader && \ # automake --foreign --add-missing --copy && autoconf +%patch1 -p1 %build %configure CFLAGS="$CFLAGS -fno-strict-aliasing" --enable-ext-type=ib --sysconfdir=/etc/rdma @@ -86,6 +88,10 @@ rm -rf %{buildroot} %{_mandir}/man1/* %changelog +* Thu Apr 21 2016 Honggang Li - 2.1.5-2 +- Ensure dapltest with no argument working in ppc64 arch. +- Resolves: bz1056487 + * Tue Jun 09 2015 Doug Ledford - 2.1.5-1 - Update to latest upstream release - Include support for s390x