[packages/librdmacm] - updated to 1.0.17 - added link patch (fixes librspreload linking)
qboosh
qboosh at pld-linux.org
Sat Mar 9 12:58:22 CET 2013
commit 9e7bee026d8863ec92e7bbc3ec52e8b45eb15914
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Mar 9 12:58:17 2013 +0100
- updated to 1.0.17
- added link patch (fixes librspreload linking)
librdmacm-link.patch | 11 +++++++++++
librdmacm.spec | 16 ++++++++++++++--
2 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/librdmacm.spec b/librdmacm.spec
index 84ee692..0ce83fc 100644
--- a/librdmacm.spec
+++ b/librdmacm.spec
@@ -1,15 +1,19 @@
Summary: Userspace RDMA Connection Manager
Summary(pl.UTF-8): Zarządca połączeń RDMA w przestrzeni użytkowika
Name: librdmacm
-Version: 1.0.16
+Version: 1.0.17
Release: 1
License: BSD or GPL v2
Group: Libraries
Source0: http://www.openfabrics.org/downloads/rdmacm/%{name}-%{version}.tar.gz
-# Source0-md5: a0a94092b6a75a35f47f7d379c8cc8be
+# Source0-md5: da6fad887e9c24cb01b74b75f8449cb1
Source1: %{name}.pc.in
+Patch0: %{name}-link.patch
URL: http://www.openfabrics.org/
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
BuildRequires: libibverbs-devel
+BuildRequires: libtool >= 1.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%undefine __cxx
@@ -48,8 +52,14 @@ Ten pakiet zawiera statyczną bibliotekę librdmacm.
%prep
%setup -q
+%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--disable-silent-rules
%{__make}
@@ -85,10 +95,12 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/rdma_server
%attr(755,root,root) %{_bindir}/rdma_xclient
%attr(755,root,root) %{_bindir}/rdma_xserver
+%attr(755,root,root) %{_bindir}/riostream
%attr(755,root,root) %{_bindir}/rping
%attr(755,root,root) %{_bindir}/rstream
%attr(755,root,root) %{_bindir}/ucmatose
%attr(755,root,root) %{_bindir}/udaddy
+%attr(755,root,root) %{_bindir}/udpong
%attr(755,root,root) %{_libdir}/librdmacm.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/librdmacm.so.1
%dir %{_libdir}/rsocket
diff --git a/librdmacm-link.patch b/librdmacm-link.patch
new file mode 100644
index 0000000..2cfab5d
--- /dev/null
+++ b/librdmacm-link.patch
@@ -0,0 +1,11 @@
+--- librdmacm-1.0.17/Makefile.am.orig 2013-03-06 02:31:33.000000000 +0100
++++ librdmacm-1.0.17/Makefile.am 2013-03-09 08:38:07.243770737 +0100
+@@ -24,7 +24,7 @@
+
+ src_librspreload_la_SOURCES = src/preload.c src/indexer.c
+ src_librspreload_la_LDFLAGS = -version-info 1 -export-dynamic
+-src_librspreload_la_LIBADD = $(top_builddir)/src/librdmacm.la
++src_librspreload_la_LIBADD = $(top_builddir)/src/librdmacm.la -ldl
+
+ bin_PROGRAMS = examples/ucmatose examples/rping examples/udaddy examples/mckey \
+ examples/rdma_client examples/rdma_server examples/rdma_xclient \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/librdmacm.git/commitdiff/9e7bee026d8863ec92e7bbc3ec52e8b45eb15914
More information about the pld-cvs-commit
mailing list