[SCM] Packaging for Google Go branch, debian-sid, updated. debian/2011.02.01.1-1-8-g38ffa67

Ondřej Surý ondrej at sury.org
Fri Feb 18 10:46:51 UTC 2011


The following commit has been merged in the debian-sid branch:
commit 86b89c887566fdf6c87bd6c377786d345fbfd039
Author: Ondřej Surý <ondrej at sury.org>
Date:   Fri Feb 18 11:22:29 2011 +0100

    Remove RPATH/RUNPATH from go binaries

diff --git a/debian/control b/debian/control
index f6255bc..6d0ad10 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Ondřej Surý <ondrej at debian.org>
 Vcs-Browser: https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=pkg-google/golang.git
 Vcs-Git: git://scm.alioth.debian.org/git/pkg-google/golang.git
-Build-Depends: debhelper (>= 7.4.10), bison, ed, mawk | awk, perl
+Build-Depends: debhelper (>= 7.4.10), bison, ed, mawk | awk, perl, chrpath
 Standards-Version: 3.9.1
 Homepage: http://golang.org/
 
diff --git a/debian/rules b/debian/rules
index 6f49cec..6d5e7a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -49,6 +49,8 @@ override_dh_auto_install:
 	rm -rf $(DESTDIR)/usr/lib/golang/lib/codereview
 	for cmd in a c g l; do ln -s $(GOPREFIX)$$cmd $(DESTDIR)$(bindir)/golang-$$cmd; done
 	for cmd in nm cov prof; do ln -s 6$$cmd $(DESTDIR)$(bindir)/golang-$$cmd; done
+	# remove RUNPATH from go binaries
+	for cmd in goyacc ebnflint godoc govet gofmt goinstall cgo; do chrpath -d $(DESTDIR)$(bindir)/$$cmd; done
 
 override_dh_install:
 	dh_install --fail-missing

-- 
Packaging for Google Go



More information about the Pkg-google-commits mailing list