[SCM] Packaging for Google Go branch, debian-sid, updated. debian/1%60.2-1-32-ga228561

Ondřej Surý ondrej at sury.org
Wed Apr 11 21:27:06 UTC 2012


The following commit has been merged in the debian-sid branch:
commit 4ede7ca2d1f04fcde10c601d39653270355fa632
Author: Ondřej Surý <ondrej at sury.org>
Date:   Wed Apr 11 22:16:28 2012 +0200

    Make sure that timestamp on installed binaries and libraries is same (Closes: #668235)

diff --git a/debian/rules b/debian/rules
index ad2bc67..c4ff9f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,9 @@ override_dh_install:
 	# Remove testdata and tests from installed src directory
 	find $(CURDIR)/debian/golang-src/usr/share/go/src -type d -name testdata -prune -execdir rm -rf {} \;
 	find $(CURDIR)/debian/golang-src/usr/share/go/src -type f -name '*_test.go' -delete
+	# Touch built and installed files and directories to have same timestamp
+	touch $(CURDIR)/debian/golang-go/usr/lib/go/pkg
+	find $(CURDIR)/debian/golang-go/usr/lib/go/pkg -exec touch -r $(CURDIR)/debian/golang-go/usr/lib/go/pkg {} \;
 
 override_dh_strip:
 	dh_strip -X".a" -Xgoinstall -Xgodoc -Xgoyacc -Xbin/cgo -Xebnflint -Xgofix -Xgofmt -Xgovet -Xgotest --dbg-package=$(PACKAGE)-dbg

-- 
Packaging for Google Go



More information about the Pkg-google-commits mailing list