[Pkg-golang-commits] [SCM] Packaging for Google Go branch, debian-sid, updated. debian/2%1.0.1-1-27-g9ecbce4

Michael Stapelberg michael at stapelberg.de
Mon Mar 4 20:52:28 UTC 2013


The following commit has been merged in the debian-sid branch:
commit 9ecbce428c2dbc808d2c7634133c050d875f3e5c
Author: Michael Stapelberg <stapelberg at debian.org>
Date:   Mon Mar 4 21:45:54 2013 +0100

    remove .syso files of the race detector

diff --git a/debian/rules b/debian/rules
index 35bbf6d..5c0d20f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,8 @@ 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
+	# Remove .syso files of the race detector; it is not used yet and the files are arch-dependent.
+	find $(CURDIR)/debian/golang-src/usr/share/go/src/pkg/runtime/race -type f -name '*.syso' -delete
 	# Remove Plan9 rc(1) scripts
 	find $(CURDIR)/debian/golang-src/usr/share/go/src -type f -name "*.rc" -delete
 	# Touch built and installed files and directories to have same timestamp

-- 
Packaging for Google Go



More information about the pkg-golang-commits mailing list