[axis2c/el5] Kill off RPATHs

gholms gholms at fedoraproject.org
Wed Feb 22 00:02:10 UTC 2012


commit de83fa965190daefe309559a59fe9c0c18af976d
Author: Garrett Holmstrom <gholms at fedoraproject.org>
Date:   Fri Jan 13 23:58:37 2012 -0500

    Kill off RPATHs

 axis2c.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/axis2c.spec b/axis2c.spec
index f5b96bb..907dd8c 100644
--- a/axis2c.spec
+++ b/axis2c.spec
@@ -90,6 +90,10 @@ dos2unix INSTALL NEWS ChangeLog
 
 
 %build
+# Keep libtool from hardcoding RPATH
+find . -name configure -print0 | xargs -0 sed -i.libdir_syssearch -e \
+    '/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib /lib64 |'
+
 # Code that builds against or otherwise uses axis2c assumes that everything is
 # laid out in subdirs of a single installation dir.  Instead of using the
 # %%configure macro, we install in the manner that upstream expects, move things
@@ -214,6 +218,7 @@ rm -rf $RPM_BUILD_ROOT
 - Dropped download.cgi from docs package
 - Fixed docfile line endings
 - Made source files non-executable
+- Killed off RPATHs
 
 * Thu Sep  1 2011 Garrett Holmstrom <gholms at fedoraproject.org> - 1.6.0-1
 - First build for Fedora


More information about the scm-commits mailing list