jreznik pushed to arts (epel7). "rpath: hack on libtool this time"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 15:13:26 UTC 2015


>From 4b7fddadfaf9ebf740d0aeba241b29f477990f53 Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Wed, 13 Aug 2014 12:45:02 -0500
Subject: rpath: hack on libtool this time


diff --git a/arts.spec b/arts.spec
index ca132ff..928f8f8 100644
--- a/arts.spec
+++ b/arts.spec
@@ -116,9 +116,9 @@ unset QTDIR && . /etc/profile.d/qt.sh
   --with-alsa \
   --enable-final
 
-# kill rpath harder, https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Removing_Rpath 
-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
+# kill rpath harder, inspired by https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Removing_Rpath
+# other more standard variants didnt work or caused other problems
+sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' libtool
 
 ## hack for artsdsp (see http://bugzilla.redhat.com/329671)
 #make %{?_smp_mflags} -k || \
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/arts.git/commit/?h=epel7&id=4b7fddadfaf9ebf740d0aeba241b29f477990f53


More information about the scm-commits mailing list