[Pkg-golang-commits] [SCM] Packaging for Google Go branch, debian-sid, updated. debian/2%1.0.1-1-37-gc06e14c
Michael Stapelberg
michael at stapelberg.de
Sat Mar 23 11:11:30 UTC 2013
The following commit has been merged in the debian-sid branch:
commit f0558b3140f380367767e5fd25dde69e0cbd10ac
Author: Michael Stapelberg <michael at stapelberg.de>
Date: Sat Mar 23 11:52:41 2013 +0100
don’t ship empty /usr/share/go/src in golang-go
diff --git a/debian/rules b/debian/rules
index 14c2ece..7d41766 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,8 @@ override_dh_install:
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
+ # Remove empty /usr/share/go/src from golang-go, it is provided by golang-src
+ find $(CURDIR)/debian/golang-go/usr/share/go/src -type d -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 {} \;
--
Packaging for Google Go
More information about the pkg-golang-commits
mailing list