[metview] 79/97: Ensure binaries are stripped of rpaths

Alastair McKinstry mckinstry at moszumanska.debian.org
Tue Sep 1 09:18:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

mckinstry pushed a commit to branch master
in repository metview.

commit 6b8ec27a058dba8ea6f9d689ef0f72aa92be3bdd
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Jul 22 22:01:48 2015 +0100

    Ensure binaries are stripped of rpaths
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index abd3080..f23070a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ MV_COMP:=$(DESTDIR)/usr/bin/Metview/mv_compress
 
 override_dh_auto_clean:
 	dh_clean
-	rm -fr obj-*
+	rm -rf obj-*
 	rm -f share/metview/icons/make.dep config/CONFIG.site \
 		share/metview/app-defaults/MvVersionDetails  \
 		include/macro_api.h etc/ConfigDef
@@ -60,6 +60,7 @@ override_dh_fixperms:
 	chmod -x debian/metview/usr/lib/metview/metview_*.common
 	chmod -x debian/metview/usr/lib/metview/metview_stat
 	chmod -x debian/metview/usr/lib/metview/metview_patches
+	file debian/metview/usr/lib/metview/* | grep ELF | cut -f1 -d: | xargs chrpath -d
 	# This directory won't exist on arch-only builds, so ...
 	[ ! -d debian/metview-data/usr/share/metview ] || (  \
 		chmod -R -x debian/metview-data/usr/share/metview/* ; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/metview.git



More information about the debian-science-commits mailing list