[libibverbs] Fix rpath in binaries issue

Doug Ledford dledford at fedoraproject.org
Wed Jul 20 15:50:44 UTC 2011


commit d56f69ec3ed096e74cf97933c6f09521aa70bd7b
Author: Doug Ledford <dledford at redhat.com>
Date:   Wed Jul 20 11:49:35 2011 -0400

    Fix rpath in binaries issue
    
    Signed-off-by: Doug Ledford <dledford at redhat.com>

 libibverbs.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libibverbs.spec b/libibverbs.spec
index 9f90277..03a9f31 100644
--- a/libibverbs.spec
+++ b/libibverbs.spec
@@ -1,6 +1,6 @@
 Name: libibverbs
 Version: 1.1.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A library for direct userspace use of RDMA (InfiniBand/iWARP) hardware
 Group: System Environment/Libraries
 License: GPLv2 or BSD
@@ -51,7 +51,9 @@ displays information about RDMA devices.
 %setup -q
 
 %build
-%configure
+%configure --with-valgrind
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 
 %install
@@ -89,6 +91,9 @@ rm -rf %{buildroot}
 %{_mandir}/man1/*
 
 %changelog
+* Wed Jul 20 2011 Doug Ledford <dledford at redhat.com> - 1.1.5-2
+- Fix rpath in binaries
+
 * Tue Jul 19 2011 Doug Ledford <dledford at redhat.com> - 1.1.5-1
 - Update to latest upstream release
 


More information about the scm-commits mailing list