[packages/golang] up to 1.9.3

atler atler at pld-linux.org
Sat Jan 27 14:26:10 CET 2018


commit 641563f57dc3a48b57f6538e01c714560e265d9a
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jan 27 14:21:18 2018 +0100

    up to 1.9.3

 golang-1.2-verbose-build.patch | 17 +++++++++--------
 golang.spec                    |  6 +++---
 2 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index f256370..332780c 100644
--- a/golang.spec
+++ b/golang.spec
@@ -25,14 +25,14 @@
 Summary:	Go compiler and tools
 Summary(pl.UTF-8):	Kompilator języka Go i narzędzia
 Name:		golang
-Version:	1.8.3
-Release:	2
+Version:	1.9.3
+Release:	1
 # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
 License:	BSD and Public Domain
 Group:		Development/Languages
 # Source0Download: https://golang.org/dl/
 Source0:	https://storage.googleapis.com/golang/go%{version}.src.tar.gz
-# Source0-md5:	64e9380e07bba907e26a00cf5fcbe77e
+# Source0-md5:	dcb87e20c314ff08205afcb4ee048d71
 Patch0:		ca-certs.patch
 Patch2:		%{name}-1.2-verbose-build.patch
 Patch5:		go1.5-zoneinfo_testing_only.patch
diff --git a/golang-1.2-verbose-build.patch b/golang-1.2-verbose-build.patch
index e9c5edf..67adc8f 100644
--- a/golang-1.2-verbose-build.patch
+++ b/golang-1.2-verbose-build.patch
@@ -1,8 +1,6 @@
-Index: go/src/make.bash
-===================================================================
---- go.orig/src/make.bash
-+++ go/src/make.bash
-@@ -153,12 +153,12 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then
+--- golang-1.9.3/src/make.bash.orig	2018-01-27 14:02:08.808740661 +0100
++++ golang-1.9.3/src/make.bash	2018-01-27 14:04:37.817549145 +0100
+@@ -167,7 +167,7 @@
  	# CC_FOR_TARGET is recorded as the default compiler for the go tool. When building for the host, however,
  	# use the host compiler, CC, from `cmd/dist/dist env` instead.
  	CC=$CC GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
@@ -11,9 +9,12 @@ Index: go/src/make.bash
  	echo
  fi
  
- echo "##### Building packages and commands for $GOOS/$GOARCH."
+@@ -175,7 +175,7 @@
+ 
+ old_bin_files=$(cd $GOROOT/bin && echo *)
+ 
 -CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
 +CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v -x std cmd
- echo
  
- rm -f "$GOTOOLDIR"/go_bootstrap
+ # Check that there are no new files in $GOROOT/bin other than go and gofmt
+ # and $GOOS_$GOARCH (a directory used when cross-compiling).
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/c5489fe63668c5e7884da7778f73a894cdce94cb



More information about the pld-cvs-commit mailing list