[Pkg-golang-commits] [golang] 04/27: - Do not distribute un-built from source race detector runtime files and recommend golang-race-detector-runtime instead (see Debian bug #807455)
Michael Hudson-Doyle
mwhudson-guest at moszumanska.debian.org
Tue Mar 1 02:57:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
mwhudson-guest pushed a commit to branch gbp
in repository golang.
commit ded9c5fdd22fd020602d1d32678d6d7df74d8a84
Author: Michael Hudson-Doyle <michael.hudson at canonical.com>
Date: Fri Feb 12 10:14:48 2016 +1300
- Do not distribute un-built from source race detector runtime files and
recommend golang-race-detector-runtime instead (see Debian bug #807455)
---
debian/control | 3 ++-
debian/rules | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index b660a7e..9e347af 100644
--- a/debian/control
+++ b/debian/control
@@ -50,7 +50,8 @@ Replaces: golang-go-darwin-386,
golang-go-windows-amd64
Conflicts: golang-go.tools (<< 1:0.0~git20151026.0.0f9d71c-1~),
golang-golang-x-tools (<< 1:0.0~git20151026.0.0f9d71c-1~)
-Recommends: g++, gcc, libc6-dev, pkg-config
+Recommends: g++, gcc, libc6-dev, pkg-config,
+ golang-race-detector-runtime [amd64]
Suggests: bzr,
ca-certificates,
git,
diff --git a/debian/rules b/debian/rules
index 4c697e0..eda8a86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,9 @@ override_dh_install-indep:
override_dh_install-arch:
ifeq (true, $(IS_GOLANG_ARCH))
dh_install --fail-missing
+ # Remove .syso files of the race detector; they are binary files that
+ # are not built from source in the go source distribution.
+ find $(CURDIR)/debian/golang-src/usr/share/go/src/runtime/race -type f -name '*.syso' -delete
# Remove Plan9 rc(1) scripts
find 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git
More information about the pkg-golang-commits
mailing list