[Pkg-golang-commits] [golang] 01/01: Sort generated Architecture fields too

Tianon Gravi tianon at debian.org
Mon Sep 28 04:39:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

tianon pushed a commit to branch debian-sid
in repository golang.

commit e7bf3a8cd656c688426249f0d4d6fb624729bdcc
Author: Tianon Gravi <tianon at debian.org>
Date:   Sun Sep 27 21:39:06 2015 -0700

    Sort generated Architecture fields too
---
 debian/control | 6 +++---
 debian/rules   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index f028f48..de3aaf7 100644
--- a/debian/control
+++ b/debian/control
@@ -93,7 +93,7 @@ Description: Go programming language compiler - metapackage
  that (most of) a full Go development environment is installed.
 
 Package: golang-go-linux-amd64
-Architecture: i386 amd64 armel armhf
+Architecture: amd64 armel armhf i386
 Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
 Description: Go standard library compiled for linux_amd64
  This package contains the Go standard library,
@@ -109,7 +109,7 @@ Description: Go standard library compiled for linux_amd64
  linux_amd64, even though you are executing the Go compiler on linux_386.
 
 Package: golang-go-linux-arm
-Architecture: i386 amd64 armel armhf
+Architecture: amd64 armel armhf i386
 Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
 Description: Go standard library compiled for linux_arm
  This package contains the Go standard library,
@@ -125,7 +125,7 @@ Description: Go standard library compiled for linux_arm
  linux_amd64, even though you are executing the Go compiler on linux_386.
 
 Package: golang-go-linux-386
-Architecture: i386 amd64 armel armhf
+Architecture: amd64 armel armhf i386
 Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}
 Description: Go standard library compiled for linux_386
  This package contains the Go standard library,
diff --git a/debian/rules b/debian/rules
index b890d6d..bcb2b2a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,7 +60,7 @@ gencontrol:
 	cat debian/control.base >> debian/control.tmp
 	${FOR_GO_ARCH} \
 		BUILDARCHS=all; \
-		[ "$$os" = "linux" ] && BUILDARCHS="i386 amd64 armel armhf"; \
+		[ "$$os" = "linux" ] && BUILDARCHS="amd64 armel armhf i386"; \
 		sed -e "s, at OS@,$$os,g; s, at ARCH@,$$arch,g; s, at BUILDARCHS@,$$BUILDARCHS,g" debian/control.cross >> debian/control.tmp; \
 	${FOR_GO_ARCH_END}
 	mv debian/control.tmp debian/control

-- 
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