commit go for openSUSE:Factory

2020-07-21 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2020-07-21 15:43:27

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new.3592 (New)


Package is "go"

Tue Jul 21 15:43:27 2020 rev:97 rq:821470 version:1.14

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2019-08-27 10:12:33.535974843 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new.3592/go.changes  2020-07-21 
15:45:57.443966834 +0200
@@ -1,0 +2,36 @@
+Tue Jun 30 17:15:40 UTC 2020 - Andreas Schwab 
+
+- Enable for riscv64
+
+---
+Sat Jun  6 09:45:55 UTC 2020 - Aleksa Sarai 
+
+- Ensure 'Provides: golang(API) = %{api_version}' is consistent
+  to improve package resolution for common go dependency expressions
+  'BuildRequires: golang(API) >= 1.x' and BuildRequires: go >= 1.x
+  OBS projects that contain go code often have prjconf entries
+  'Prefer: go' which selects go metapackage over go1.x packages.
+  When go metapackage Provides: version is lower than go1.x versions,
+  'Prefer: go' is not effective and build failures occur with errors
+  unresolvable: have choice for golang(API) >= 1.13: go1.13 go1.14
+  Edits and changelog Jeff Kowalczyk 
+  Refs boo#1172608
+  * Unify '{version'} and '{short_version}' as '{api_version}' for
+'Provides: golang(API) = %{api_version}'
+  * Use both 'BuildRequires: go%{api_version}' and 'Requires: go%{api_version}'
+to trigger build errors if go1.x is unavailable
+  * Add aarch64 to supported systems for go-race via
+%define tsan_arch x86_64 aarch64
+  * Add tsan_arch x86_64 aarch64 for suse_version >= 1500 and
+sle_version >= 15, formerly conditional on suse_version >= 1315
+  * Ensure %ifarch %{tsan_arch} always evaluates (nil does not work)
+via dummy tsan_arch on systems where go-race is not supported
+
+---
+Fri Apr 17 03:00:35 UTC 2020 - Jeff Kowalczyk 
+
+- Update to current stable go1.14
+  Refs boo#1164903 go1.14 release tracking
+  * Remove redundant Provides: go-doc=%{version} per rpmlint warning
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.NBbMku/_old  2020-07-21 15:45:59.003968763 +0200
+++ /var/tmp/diff_new_pack.NBbMku/_new  2020-07-21 15:45:59.003968763 +0200
@@ -16,30 +16,35 @@
 #
 # nodebuginfo
 
-# By default we don't include tsan. It's only supported on amd64.
-%define tsan_arch x86_64
-
-%if 0%{?suse_version} >= 1315
-%define short_version 1.12
+# NOTE: This logic must come from the latest go1.x package specfile.
+# We only build go-race on supported systems.
+%if 0%{suse_version} >= 1500 || 0%{?sle_version} >= 15
+%define tsan_arch x86_64 aarch64
 %else
-%define short_version 1.11
+# Cannot use {nil} here (ifarch doesn't like it) so just make up a fake
+# architecture that no build will ever match.
+%define tsan_arch openSUSE_FAKE_ARCH
 %endif
 
 Name:   go
-Version:1.12
+Version:1.14
+# Version must always be a valid golang(API) version
+%define api_version %{version}
 Release:0
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
 Source: README
 Recommends: go-doc = %{version}
-ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x
+ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x riscv64
 # We provide golang(API) so that projects can Prefer: go. Any project using Go
 # code with golang(API) BuildRequires should add Prefer: go.
-Provides:   golang(API) = %{short_version}
-Requires:   go%{short_version}
+Provides:   golang(API) = %{api_version}
+# Make this both Requires and BuildRequires go1.x so that we get build errors
+# if it is missing.
+BuildRequires:  go%{api_version}
+Requires:   go%{api_version}
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -53,8 +58,8 @@
 License:BSD-3-Clause
 Group:  Documentation/Other
 Requires:   go = %{version}
-Requires:   go%{short_version}-doc
-Provides:   go-doc = %{version}
+Supplements:go = %{version}
+Requires:   go%{api_version}-doc
 
 %description doc
 Go examples and documentation.
@@ -69,7 +74,10 @@
 Requires:   go = %{version}
 Supplements:go = %{version}
 ExclusiveArch:  %{tsan_arch}
-Requires:   go%{short_version}-race
+# Make this both Requires and BuildRequires go1.x-race so that we get build
+# erro

commit go for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2019-08-27 10:12:29

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new.7948 (New)


Package is "go"

Tue Aug 27 10:12:29 2019 rev:96 rq:725167 version:1.12

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2019-01-26 22:19:51.522979909 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new.7948/go.changes  2019-08-27 
10:12:33.535974843 +0200
@@ -1,0 +2,31 @@
+Wed Aug 21 21:25:13 UTC 2019 - Jeff Kowalczyk 
+
+- Change suse_version >= 1315 (was 1550) defines short_version 1.12
+  go1.12 packages are available for SLE-12.
+
+---
+Mon Mar 11 19:09:49 UTC 2019 - Marcus Rueckert 
+
+- bump the package only to 1.12 for distros where this actually
+  builds
+
+---
+Mon Mar 11 05:26:57 UTC 2019 - Jeff Kowalczyk 
+
+- go1.12 (released 2019/02/25) includes changes in the implementation of the
+  toolchain, runtime, and libraries. As always, the release maintains the Go 1
+  promise of compatibility. Upstream expects almost all Go programs to continue
+  to compile and run as before.
+  * GO111MODULE=on enables module-aware operations outside of a module 
directory
+  * GODEBUG=tls13=1 enables opt-in support for TLS 1.3 in the crypto/tls 
package
+per RFC 8446. Will be default in go1.13.
+  * trace tool now supports plotting mutator utilization curves, including
+cross-references to the execution trace. These are useful for analyzing the
+impact of the garbage collector on application latency and throughput.
+  * arm64 assembler platform register renamed from R18 to R18_PLATFORM
+  * improvements to gc
+  * race detector is now supported on linux/arm64
+  * cgo is now supported on linux/ppc64
+  * go1.12 is the last release that will support binary-only packages.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.A4hCLx/_old  2019-08-27 10:12:33.971974814 +0200
+++ /var/tmp/diff_new_pack.A4hCLx/_new  2019-08-27 10:12:33.975974814 +0200
@@ -19,10 +19,14 @@
 # By default we don't include tsan. It's only supported on amd64.
 %define tsan_arch x86_64
 
+%if 0%{?suse_version} >= 1315
+%define short_version 1.12
+%else
 %define short_version 1.11
+%endif
 
 Name:   go
-Version:1.11.5
+Version:1.12
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language




commit go for openSUSE:Factory

2019-01-26 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2019-01-26 22:19:50

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new.28833 (New)


Package is "go"

Sat Jan 26 22:19:50 2019 rev:95 rq:668239 version:1.11.5

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-12-27 00:24:57.739880332 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new.28833/go.changes 2019-01-26 
22:19:51.522979909 +0100
@@ -1,0 +2,6 @@
+Thu Jan 24 04:34:37 UTC 2019 - Jeff Kowalczyk 
+
+- go1.11.5 (released 2019/01/23) security release fixes CVE-2019-6486.
+  * go#29903 crypto/elliptic: CPU DoS vulnerability affecting P-521 and P-384
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.7PL9AP/_old  2019-01-26 22:19:52.090979448 +0100
+++ /var/tmp/diff_new_pack.7PL9AP/_new  2019-01-26 22:19:52.094979444 +0100
@@ -22,7 +22,7 @@
 %define short_version 1.11
 
 Name:   go
-Version:1.11.4
+Version:1.11.5
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language




commit go for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-12-27 00:24:56

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new.28833 (New)


Package is "go"

Thu Dec 27 00:24:56 2018 rev:94 rq:658809 version:1.11.4

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-11-18 23:21:00.606289012 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new.28833/go.changes 2018-12-27 
00:24:57.739880332 +0100
@@ -1,0 +2,46 @@
+Sat Dec 15 17:58:49 UTC 2018 - Jeff Kowalczyk 
+
+- go1.11.4 (released 2018/12/14) includes fixes to cgo, the compiler, linker,
+  runtime, documentation, go command, and the net/http and go/types packages.
+  It includes a fix to a bug introduced in Go 1.11.3 that broke go get for
+  import path patterns containing "...". See the Go 1.11.4 milestone on our
+  issue tracker for details.
+  
https://github.com/golang/go/issues?q=milestone%3AGo1.11.4+label%3ACherryPickApproved
+  * go#29272 misc/cgo/test: issue24161 tests broken on Darwin
+  * go#29248 cmd/go: "go get" fails on import path patterns with wildcards 
("...")
+  * go#29191 cmd/go: symbolic links not dropped from repo
+  * go#29112 cmd/link: too many open files on high object-count dependencies
+  * go#28974 cmd/go: need to backport relaxing of go.mod go verb constraints 
to 1.11 series
+  * go#28972 go/types: problem with alias type
+  * go#28916 cmd/cgo: nested structure has too much alignment padding
+  * go#28799 runtime: fatal error: out of memory on reslice with negative index
+  * go#28752 reflect: scanning invalid return slots during a makeFunc call
+  * go#28725 cmd/go: panic when argument doesn't match any packages
+  * go#28694 cmd/compile: inline multiplication corrupts an argument on arm
+  * go#28690 runtime: ThreadSanitizer CHECK failed
+  * go#28673 x/net/http2: Transport is leaking streams on broken Body
+  * go#28617 cmd/compile: panic during fuse with if true block containing a 
goto and a return
+  * go#28586 cmd/compile: go binaries not working on exynos 64 bit CPUs
+  * go#27395 cmd/cgo: typedef pointer arguments regression
+  * go#27383 cmd/compile: failure on a function type alias
+
+---
+Thu Dec 13 23:57:46 UTC 2018 - Jeff Kowalczyk 
+
+- Update to Go 1.11.3 (released 2018/12/13). This includes fixes to
+  the crypto/x509 and cmd/go packages. See the Go 1.11.3 milestone
+  on upstream tracker for details:
+  https://github.com/golang/go/issues?q=milestone%3AGo1.11.3
+  * bsc#1118897 CVE-2018-16873
+go#29230 cmd/go: remote command execution during "go get -u"
+  * bsc#1118898 CVE-2018-16874
+go#29231 cmd/go: directory traversal in "go get" via curly braces in 
import paths
+  * bsc#1118899 CVE-2018-16875
+go#29233 crypto/x509: CPU denial of service
+  * Upstream is aware of a functionality regression in "go get" when
+executed in GOPATH mode on an import path pattern containing "..."
+(e.g., "go get github.com/golang/pkg/..."), when downloading
+packages not already present in the GOPATH workspace. This is go#29241
+and will be resolved in the next minor patch release go-1.11.4
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.IwYZvT/_old  2018-12-27 00:24:58.395879797 +0100
+++ /var/tmp/diff_new_pack.IwYZvT/_new  2018-12-27 00:24:58.399879794 +0100
@@ -22,7 +22,7 @@
 %define short_version 1.11
 
 Name:   go
-Version:1.11.1
+Version:1.11.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language




commit go for openSUSE:Factory

2018-11-18 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-11-18 23:20:53

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Sun Nov 18 23:20:53 2018 rev:93 rq:648710 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-11-12 09:48:57.588506654 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-11-18 
23:21:00.606289012 +0100
@@ -1,0 +2,7 @@
+Tue Nov 13 09:46:18 UTC 2018 - Aleksa Sarai 
+
+- Revert golang(API) removal since it turns out this breaks >= requires in
+  certain cases. Instead we recommend that folks set Prefer: go in all of their
+  projects. boo#1114209
+
+---
@@ -88,0 +96,6 @@
+Wed Jun 20 10:48:35 UTC 2018 - jmassaguer...@suse.com
+
+- Update to 1.9.7
+  fix bsc#1081495 (CVE-2018-7187)
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.PmKuyZ/_old  2018-11-18 23:21:02.214287261 +0100
+++ /var/tmp/diff_new_pack.PmKuyZ/_new  2018-11-18 23:21:02.218287256 +0100
@@ -32,6 +32,9 @@
 Source: README
 Recommends: go-doc = %{version}
 ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x
+# We provide golang(API) so that projects can Prefer: go. Any project using Go
+# code with golang(API) BuildRequires should add Prefer: go.
+Provides:   golang(API) = %{short_version}
 Requires:   go%{short_version}
 
 %description




commit go for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-11-12 09:48:55

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Mon Nov 12 09:48:55 2018 rev:92 rq:646282 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-10-11 11:45:01.294819663 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-11-12 
09:48:57.588506654 +0100
@@ -1,0 +2,7 @@
+Wed Oct 31 15:35:57 UTC 2018 - Aleksa Sarai 
+
+- Remove golang(API) provides, since the go packages now provide this and
+  providing it here causes issues when building under SLE12 (not to mention
+  being confusing -- since golang(API) is used to pin versions). boo#1114209
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.uYkAKE/_old  2018-11-12 09:48:57.976506070 +0100
+++ /var/tmp/diff_new_pack.uYkAKE/_new  2018-11-12 09:48:57.980506064 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # nodebuginfo
 
@@ -33,7 +33,6 @@
 Recommends: go-doc = %{version}
 ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x
 Requires:   go%{short_version}
-Provides:   golang(API) = %{short_version}
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language




commit go for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-10-11 11:44:32

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Thu Oct 11 11:44:32 2018 rev:91 rq:640330 version:1.11.1

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-06-22 13:12:56.836457565 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-10-11 
11:45:01.294819663 +0200
@@ -1,0 +2,80 @@
+Sat Oct  6 16:01:56 UTC 2018 - Jeff Kowalczyk 
+
+- Update to version 1.11.1:
+  * includes fixes to the compiler, documentation, go command, runtime,
+and the crypto/x509, encoding/json, go/types, net, net/http and reflect
+packages.
+
+- cmd/compile:
+  * bad walkinrange rewrites on constant above 2**63
+  * function compiled without bounds checking and -1 index access
+  * missing bounds checks in 1.11
+  * panic in cmd/compile/internal/gc.typecheck1
+  * race detector detects race with close(chan) and len(chan)
+
+- cmd/go:
+  * 'go test -gcflags=all=-l' appears not to disable inlining
+  * GOMIPS environment variable does not affect caching of mipsle code
+  * TestScript/mod_install_versioned consistently failing on macOS High Sierra
+  * build fails when setting linker to lld using ldflags
+  * go list -json -compiled -test -e upspin.io/test fails with non-zero exit 
status
+
+- doc:
+   * GOFLAGS environment variable not in 1.11 release notes
+   * downloads page claims that Go 1.11 supports unsupported operating systems 
Documentation
+
+- encoding/json:
+   * empty fields in json.UnmarshalTypeError
+
+- go/types:
+  * assertion failure setting up composite literal with incomplete element type
+  * some facts are missing after an error
+
+- net/http:
+  * WASM Roundtripper crash when using "no-cors" mode
+
+- net:
+  * LookupTXT bug
+  * empty DNS answers should fail fast
+  * testSpliceReaderAtEOF closed connection: got err = splice: invalid argument
+
+- reflect:
+  * MethodByName().Interface() leads to fatal error: sweep increased 
allocation count
+
+- runtime:
+  * invalid pointer found on stack
+  * timeouts in os/signal tests 
+
+---
+Fri Sep 28 04:31:11 UTC 2018 - Jeff Kowalczyk 
+
+- Fix stray 1.10 version reference preventing 1.11 only package solutions
+
+---
+Wed Sep 26 22:15:36 UTC 2018 - Jeff Kowalczyk 
+
+- Update to version 1.11:
+  * Most of its changes are in the implementation of the toolchain, 
+runtime, and libraries. As always, the release maintains the 
+Go 1 promise of compatibility. We expect almost all Go programs 
+to continue to compile and run as before. 
+  * For more details check: https://golang.org/doc/go1.11
+- Use gcc8 instead of gcc7 for Factory/Tumbleweed.
+- Update compiler-rt TSAN binary: the precompiled versions of 
+  LLVM's compiler-rt has updated to commit 
+  fe2c72c59aa7f4afa45e3f65a5d16a374b6cce26 in go1.11 source.
+- Remove patch: 
+  * fix-sanitizer-build-against-latest-glibc.patch: upstream fixed.
+- Add patch:
+  * gcc8-go.patch: use gcc8 instead of gcc7 for Factory/Tumbleweed.
+
+---
+Mon Aug 27 14:07:26 UTC 2018 - duyizhaozj...@yahoo.com
+
+- Update to version 1.10.4:
+  * go1.10.4 (released 2018/08/24) includes fixes to the go command, 
+linker, and the net/http, mime/multipart, ld/macho, bytes, and 
+strings packages. See the Go 1.10.4 milestone on our issue 
+tracker for details. 
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.CbqkIG/_old  2018-10-11 11:45:01.670819184 +0200
+++ /var/tmp/diff_new_pack.CbqkIG/_new  2018-10-11 11:45:01.670819184 +0200
@@ -19,10 +19,10 @@
 # By default we don't include tsan. It's only supported on amd64.
 %define tsan_arch x86_64
 
-%define short_version 1.10
+%define short_version 1.11
 
 Name:   go
-Version:1.10.3
+Version:1.11.1
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language




commit go for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-06-22 13:12:56

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Fri Jun 22 13:12:56 2018 rev:90 rq:617123 version:1.10.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-06-02 11:56:28.390482398 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-06-22 
13:12:56.836457565 +0200
@@ -1,0 +2,9 @@
+Sun Jun 10 12:42:47 UTC 2018 - duyizhaozj...@yahoo.com
+
+- Update to version1.10.3:
+  * go1.10.3 (released 2018/06/05) includes fixes to the go command, 
+and the crypto/tls, crypto/x509, and strings packages. In particular, 
+it adds minimal support to the go command for the vgo transition. 
+See the Go 1.10.3 milestone on our issue tracker for details.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.mKkcO5/_old  2018-06-22 13:12:57.532431756 +0200
+++ /var/tmp/diff_new_pack.mKkcO5/_new  2018-06-22 13:12:57.536431608 +0200
@@ -22,7 +22,7 @@
 %define short_version 1.10
 
 Name:   go
-Version:1.10.2
+Version:1.10.3
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language




commit go for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-06-02 11:56:27

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Sat Jun  2 11:56:27 2018 rev:89 rq:610093 version:1.10.2

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-04-30 22:51:57.003761170 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-06-02 
11:56:28.390482398 +0200
@@ -1,0 +2,14 @@
+Thu May 17 11:29:02 UTC 2018 - duyizhaozj...@yahoo.com
+
+- Update to version 1.10.2:
+  * includes fixes to the compiler, linker, and go command. 
+- Changes in version 1.10.1:
+  * includes fixes to the compiler, runtime, and the archive/zip, 
+crypto/tls, crypto/x509, encoding/json, net, net/http, and net/http/pprof 
packages.
+- Changes in version 1.10:
+  * This release improves caching of built packages, adds caching of 
successful 
+test results, runs vet automatically during tests, and permits passing 
string 
+values directly between Go and C using cgo. A new compiler option 
whitelist may 
+cause unexpected invalid flag errors in code that built successfully with 
older releases.  
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.0zgcC3/_old  2018-06-02 11:56:29.174453648 +0200
+++ /var/tmp/diff_new_pack.0zgcC3/_new  2018-06-02 11:56:29.178453502 +0200
@@ -19,10 +19,10 @@
 # By default we don't include tsan. It's only supported on amd64.
 %define tsan_arch x86_64
 
-%define short_version 1.9
+%define short_version 1.10
 
 Name:   go
-Version:1.9.4
+Version:1.10.2
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language




commit go for openSUSE:Factory

2018-04-30 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-04-30 22:51:54

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Mon Apr 30 22:51:54 2018 rev:88 rq:601490 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-03-06 10:44:20.142683517 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-04-30 
22:51:57.003761170 +0200
@@ -17,0 +18,6 @@
+Tue Feb 13 12:11:44 UTC 2018 - dims...@opensuse.org
+
+- Provide golang(API) = 1.9, so that this symbol can be required
+  and provided, as preferred one, by the unversioned go package.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.2Wweq4/_old  2018-04-30 22:51:57.743734171 +0200
+++ /var/tmp/diff_new_pack.2Wweq4/_new  2018-04-30 22:51:57.743734171 +0200
@@ -33,6 +33,7 @@
 Recommends: go-doc = %{version}
 ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x
 Requires:   go%{short_version}
+Provides:   golang(API) = %{short_version}
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language




commit go for openSUSE:Factory

2018-03-06 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-03-06 10:44:18

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Tue Mar  6 10:44:18 2018 rev:87 rq:582026 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-03-01 12:02:44.577004398 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-03-06 
10:44:20.142683517 +0100
@@ -12,0 +13,5 @@
+Thu Feb 15 13:11:12 UTC 2018 - guilla...@opensuse.org
+
+- Enable build for %arm
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.4wul2V/_old  2018-03-06 10:44:20.722662563 +0100
+++ /var/tmp/diff_new_pack.4wul2V/_new  2018-03-06 10:44:20.726662418 +0100
@@ -31,7 +31,7 @@
 Url:http://golang.org
 Source: README
 Recommends: go-doc = %{version}
-ExclusiveArch:  %ix86 x86_64 aarch64 ppc64 ppc64le s390x
+ExclusiveArch:  %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x
 Requires:   go%{short_version}
 
 %description




commit go for openSUSE:Factory

2018-03-01 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-03-01 12:02:43

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Thu Mar  1 12:02:43 2018 rev:86 rq:580997 version:1.9.4

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2018-02-10 17:53:46.749663017 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-03-01 
12:02:44.577004398 +0100
@@ -1,0 +2,11 @@
+Wed Feb 28 10:30:54 UTC 2018 - jmassaguer...@suse.com
+
+- Update to 1.9.4 
+  fix bsc#1080006 (CVE-2018-6574)
+
+---
+Sat Feb 24 18:51:44 UTC 2018 - jmassaguer...@suse.com
+
+- fix bsc#1082409: Review dependencies (requires, recommends and supports) 
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.myp6I0/_old  2018-03-01 12:02:45.056987183 +0100
+++ /var/tmp/diff_new_pack.myp6I0/_new  2018-03-01 12:02:45.056987183 +0100
@@ -22,7 +22,7 @@
 %define short_version 1.9
 
 Name:   go
-Version:1.9.2
+Version:1.9.4
 Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language
@@ -60,7 +60,7 @@
 Group:  Development/Languages/Other
 Url:https://compiler-rt.llvm.org/
 Requires:   go = %{version}
-Supplements:go
+Supplements:go = %{version}
 ExclusiveArch:  %{tsan_arch}
 Requires:   go%{short_version}-race
 




commit go for openSUSE:Factory

2018-02-10 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2018-02-10 17:53:45

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Sat Feb 10 17:53:45 2018 rev:85 rq:573756 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-11-03 16:32:28.195570746 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2018-02-10 
17:53:46.749663017 +0100
@@ -1,0 +2,15 @@
+Thu Dec 21 11:51:19 UTC 2017 - jmassaguer...@suse.com
+
+- Make go be a metapackage 
+  Removed patches:
+   * allow-binary-only-packages.patch
+   * armv6l.patch
+   * fix-sanitizer-build-against-latest-glibc.patch
+   * tools-packaging.patch
+   * go-1.5-build-dont-reinstall-stdlibs.patch
+   * verbose-build.patch
+   * go-1.5-install-dont-reinstall-stdlibs.patch
+   * gcc6-go.patch
+   * gcc7-go.patch
+
+---

Old:

  README.SUSE
  _service
  allow-binary-only-packages.patch
  armv6l.patch
  compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11.tar.xz
  fix-sanitizer-build-against-latest-glibc.patch
  gcc6-go.patch
  gcc7-go.patch
  go-1.5-build-dont-reinstall-stdlibs.patch
  go-1.5-install-dont-reinstall-stdlibs.patch
  go-rpmlintrc
  go.gdbinit
  go.sh
  go1.9.2.src.tar.gz
  tools-packaging.patch
  verbose-build.patch

New:

  README



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.xCy34Z/_old  2018-02-10 17:53:48.825587869 +0100
+++ /var/tmp/diff_new_pack.xCy34Z/_new  2018-02-10 17:53:48.829587725 +0100
@@ -16,139 +16,23 @@
 #
 # nodebuginfo
 
-
-# strip will cause Go's .a archives to become invalid because strip appears to
-# reassemble the archive incorrectly. This is a known issue upstream
-# (https://github.com/golang/go/issues/17890), but we have to deal with it in
-# the meantime.
-%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
-
-# By default use go and not gccgo
-%define with_gccgo 0
-
-# The fallback boostrap method via go1.4 does not work for Factory because
-# of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
-# Leap will work but we don't have go1.4 in there.
-%if 0%{?suse_version} > 1320
-# openSUSE Factory
-%define with_gccgo 1
-%else
-%if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
-# openSUSE Leap
-%define with_gccgo 1
-%endif
-%endif
-
-# The fallback bootstrap method via go1.4 doesn't work
-# for aarch64 nor ppc64le because go 1.4 did not support that architecture.
-%ifarch aarch64 ppc64le ppc64 s390x
-%define with_gccgo 1
-%endif
-
 # By default we don't include tsan. It's only supported on amd64.
 %define tsan_arch x86_64
 
-# Go has precompiled versions of LLVM's compiler-rt inside their source code.
-# We cannot ship pre-compiled binaries so we have to recompile said source,
-# however they vendor specific commits from upstream. This value comes from
-# src/runtime/race/README (and we verify that it matches in check).
-# See boo#1052528 for more details.
-%define tsan_commit 68e1532492f9b3fce0e9024f3c31411105965b11
-
-%define go_api 1.9
-
-# shared library support
-%define shared_supported %(echo "%{go_api} >= 1.5" | bc -l)
-%if %{shared_supported}
-%if %{with_gccgo}
-%define with_shared 1
-%else
-%ifarch %ix86 %arm x86_64 aarch64
-%define with_shared 1
-%else
-%define with_shared 0
-%endif
-%endif
-%else
-%define with_shared 0
-%endif
-%ifarch ppc64
-%define with_shared 0
-%endif
+%define short_version 1.9
 
 Name:   go
 Version:1.9.2
 Release:0
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source: http://golang.org/dl/go%{version}.src.tar.gz
-Source1:go-rpmlintrc
-Source2:go.sh
-Source4:README.SUSE
-Source6:go.gdbinit
-# We have to compile TSAN ourselves. boo#1052528
-Source100:  compiler-rt-g%{tsan_commit}.tar.xz
-# PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
-Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
-# PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
-# see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
-Patch2: allow-binary-only-packages.patch
-#PATCH-FIX-OPENSUSE use -x verbose build output for qemu-arm builders
-Patch3: verbose-build.patch
-# PATCH-FIX-OPENSUSE BNC#776058
-Patch4: go-1.5-install-dont-reinstall-stdlibs.patch
-# PATCH-FIX-OPENSUSE enable writing tools outside $GOROOT/pkg/tool for 
packaging
-Patch5: 

commit go for openSUSE:Factory

2017-11-03 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-11-03 16:31:50

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Fri Nov  3 16:31:50 2017 rev:84 rq:536934 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-10-26 18:39:02.482909251 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-11-03 
16:32:28.195570746 +0100
@@ -1,0 +2,12 @@
+Thu Oct 26 13:53:05 UTC 2017 - th...@suse.de
+
+- Update to go1.9.2
+
+  go1.9.2 (released 2017/10/25) includes fixes to the compiler,
+  linker, runtime, documentation, go command, and the crypto/x509,
+  database/sql, log, and net/smtp packages. It includes a fix to a
+  bug introduced in Go 1.9.1 that broke go get of non-Git
+  repositories under certain conditions. See the Go 1.9.2 milestone
+  on our issue tracker for details.
+
+---

Old:

  go1.9.1.src.tar.gz

New:

  go1.9.2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.UZLPly/_old  2017-11-03 16:32:46.338910360 +0100
+++ /var/tmp/diff_new_pack.UZLPly/_new  2017-11-03 16:32:46.338910360 +0100
@@ -77,7 +77,7 @@
 %endif
 
 Name:   go
-Version:1.9.1
+Version:1.9.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go1.9.1.src.tar.gz -> go1.9.2.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.9.1.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.9.2.src.tar.gz differ: char 12, line 1




commit go for openSUSE:Factory

2017-10-26 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-10-26 18:39:01

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Thu Oct 26 18:39:01 2017 rev:83 rq:535890 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-10-13 14:08:12.405021027 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-10-26 
18:39:02.482909251 +0200
@@ -1,0 +2,6 @@
+Sat Oct 21 11:39:37 UTC 2017 - asa...@suse.com
+
+- Install $GOROOT/lib packages, to include upstream files such as the timezone
+  database. bsc#1064522
+
+---
@@ -6,2 +12,10 @@
-  go1.9.1 (released 2017/10/04) includes two security fixes. See the Go 1.9.1
-  milestone on our issue tracker for details.
+  go1.9.1 (released 2017/10/04) includes two security fixes. See
+  the Go 1.9.1 milestone on our issue tracker for details.
+
+  Fixes included:
+
+  * net/smtp: fix PlainAuth to refuse to send passwords to non-TLS
+servers (CVE-2017-15042, bsc#1062087)
+
+  * cmd/go: arbitrary code execution during “go get” or “go get -d”
+(CVE-2017-15041, bsc#1062085)



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.DLjRKJ/_old  2017-10-26 18:39:03.778848793 +0200
+++ /var/tmp/diff_new_pack.DLjRKJ/_new  2017-10-26 18:39:03.778848793 +0200
@@ -299,10 +299,12 @@
 for i in $(ls %{buildroot}/usr/share/go/%{go_api}/src);do
   ln -s /usr/share/go/%{go_api}/src/$i $GOROOT/src/$i
 done
+# add lib files that are needed (such as the timezone database).
+install -d $GOROOT/lib
+find lib -type f -exec install -D -m644 {} $GOROOT/{} \;
 
 # copy document templates, packages, obj libs and command utilities
 mkdir -p $GOROOT/bin
-mkdir -p $GOROOT/lib
 # remove bootstrap
 rm -rf pkg/bootstrap
 mv pkg $GOROOT




commit go for openSUSE:Factory

2017-10-13 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-10-13 14:08:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Fri Oct 13 14:08:07 2017 rev:82 rq:532731 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-09-21 12:28:08.523856129 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-10-13 
14:08:12.405021027 +0200
@@ -1,0 +2,8 @@
+Thu Oct  5 07:09:54 UTC 2017 - th...@suse.de
+
+- Update to go1.9.1
+
+  go1.9.1 (released 2017/10/04) includes two security fixes. See the Go 1.9.1
+  milestone on our issue tracker for details.
+
+---

Old:

  go1.9.src.tar.gz

New:

  go1.9.1.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.un4ndB/_old  2017-10-13 14:08:15.496885063 +0200
+++ /var/tmp/diff_new_pack.un4ndB/_new  2017-10-13 14:08:15.500884887 +0200
@@ -77,7 +77,7 @@
 %endif
 
 Name:   go
-Version:1.9
+Version:1.9.1
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go-rpmlintrc ++
--- /var/tmp/diff_new_pack.un4ndB/_old  2017-10-13 14:08:15.592880841 +0200
+++ /var/tmp/diff_new_pack.un4ndB/_new  2017-10-13 14:08:15.592880841 +0200
@@ -6,3 +6,4 @@
 # through go_arch).
 addFilter("unstripped-binary-or-object.*\.syso$")
 addFilter("arch-dependent-file-in-usr-share.*\.syso$")
+addFilter("W: position-independent-executable-suggested")

++ go1.9.src.tar.gz -> go1.9.1.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.9.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.9.1.src.tar.gz differ: char 143, line 1




commit go for openSUSE:Factory

2017-09-21 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-09-21 12:28:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Thu Sep 21 12:28:07 2017 rev:81 rq:527305 version:1.9

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-09-08 20:40:55.384045384 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-09-21 
12:28:08.523856129 +0200
@@ -1,0 +2,19 @@
+Mon Sep 18 08:52:45 UTC 2017 - th...@suse.de
+
+- Update to go1.9
+
+  There are two changes to the language: adding support for type aliases and
+  defining when implementations may fuse floating point operations. Most of the
+  changes are in the implementation of the toolchain, runtime, and libraries. 
As
+  always, the release maintains the Go 1 promise of compatibility. We expect
+  almost all Go programs to continue to compile and run as before.
+
+  The release adds transparent monotonic time support, parallelizes compilation
+  of functions within a package, better supports test helper functions, 
includes
+  a new bit manipulation package, and has a new concurrent map type.
+
+  Remove patches:
+- fix_certificates_lookup.patch
+- runtime-bump-MaxGomaxprocs.patch
+
+---

Old:

  fix_certificates_lookup.patch
  go1.8.3.src.tar.gz
  runtime-bump-MaxGomaxprocs.patch

New:

  go1.9.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:11.919378487 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:11.923377925 +0200
@@ -55,7 +55,7 @@
 # See boo#1052528 for more details.
 %define tsan_commit 68e1532492f9b3fce0e9024f3c31411105965b11
 
-%define go_api 1.8
+%define go_api 1.9
 
 # shared library support
 %define shared_supported %(echo "%{go_api} >= 1.5" | bc -l)
@@ -77,7 +77,7 @@
 %endif
 
 Name:   go
-Version:1.8.3
+Version:1.9
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -104,14 +104,9 @@
 # armv6l needs this patch for our build system
 # see https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
 Patch6: armv6l.patch
-# PATCH-FIX-OPENSUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
-# PATCH-FIX-SUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
-Patch7: fix_certificates_lookup.patch
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org - find /usr/bin/go-5 when 
bootstrapping with gcc5-go
 Patch8: gcc6-go.patch
 Patch9: gcc7-go.patch
-# PATCH-FIX-OPENSUSE: Bump _MaxGomaxprocs to a larger number for NUMA machines.
-Patch10:runtime-bump-MaxGomaxprocs.patch
 # PATCH-FIX-UPSTREAM (compiler-rt): Fix sanitizer build against latest glibc
 Patch100:   fix-sanitizer-build-against-latest-glibc.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -204,7 +199,6 @@
 %ifarch armv6hl
 %patch6 -p1
 %endif
-%patch7 -p1
 %if %{with_gccgo}
 %if 0%{?suse_version} == 1315
 # SLE12 or Leap 42.x
@@ -213,7 +207,6 @@
 %patch9 -p1
 %endif
 %endif
-%patch10 -p1
 cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)
@@ -382,7 +375,6 @@
 %doc %{_docdir}/go/%{go_api}/PATENTS
 %doc %{_docdir}/go/%{go_api}/README.md
 %doc %{_docdir}/go/%{go_api}/README.SUSE
-%doc %{_docdir}/go/%{go_api}/go%{go_api}.txt
 
 # We don't include TSAN in the main Go package.
 %ifarch %{tsan_arch}
@@ -397,6 +389,7 @@
 %doc %{_docdir}/go/%{go_api}/play
 %doc %{_docdir}/go/%{go_api}/gopher
 %doc %{_docdir}/go/%{go_api}/devel
+%doc %{_docdir}/go/%{go_api}/editors
 %doc %{_docdir}/go/%{go_api}/*.html
 %doc %{_docdir}/go/%{go_api}/*.css
 %doc %{_docdir}/go/%{go_api}/*.png

++ allow-binary-only-packages.patch ++
--- /var/tmp/diff_new_pack.XM4ddw/_old  2017-09-21 12:28:11.987368923 +0200
+++ /var/tmp/diff_new_pack.XM4ddw/_new  2017-09-21 12:28:11.987368923 +0200
@@ -1,13 +1,13 @@
-diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
-index 575f187f3b..56e6e29883 100644
 a/src/cmd/go/pkg.go
-+++ b/src/cmd/go/pkg.go
-@@ -363,7 +363,7 @@ func loadImport(path, srcDir string, parent *Package, stk 
*importStack, importPo
+Index: go/src/cmd/go/internal/load/pkg.go
+===
+--- go.orig/src/cmd/go/internal/load/p

commit go for openSUSE:Factory

2017-09-08 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-09-08 20:40:46

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Fri Sep  8 20:40:46 2017 rev:80 rq:521638 version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-08-28 09:57:00.156070616 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-09-08 
20:40:55.384045384 +0200
@@ -1,0 +2,21 @@
+Tue Sep  5 15:38:19 UTC 2017 - th...@suse.de
+
+- Fixed incorrectly ghosted files 
+
+---
+Thu Aug 31 18:46:47 UTC 2017 - th...@suse.de
+
+- add fix-sanitizer-build-against-latest-glibc.patch which fixes
+  the sanitizer built against certain glibc versions 
+
+---
+Wed Aug  9 07:45:47 UTC 2017 - asa...@suse.com
+
+- go-race: add compiler-rt TSAN binary, necessary for the race detector builds
+  to work. This requires building compiler-rt from source (becuase upstream Go
+  stores precompiled binaries in the tree, and we cannot use them). In
+  addition, a %check was added purely to ensure that we don't install the wrong
+  version of compiler-rt. boo#1052528
+- go-rpmlintrc: add some entries to address the .syso additions.
+
+---

New:

  _service
  compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11.tar.xz
  fix-sanitizer-build-against-latest-glibc.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.CWLavv/_old  2017-09-08 20:40:57.115801897 +0200
+++ /var/tmp/diff_new_pack.CWLavv/_new  2017-09-08 20:40:57.127800210 +0200
@@ -45,6 +45,16 @@
 %define with_gccgo 1
 %endif
 
+# By default we don't include tsan. It's only supported on amd64.
+%define tsan_arch x86_64
+
+# Go has precompiled versions of LLVM's compiler-rt inside their source code.
+# We cannot ship pre-compiled binaries so we have to recompile said source,
+# however they vendor specific commits from upstream. This value comes from
+# src/runtime/race/README (and we verify that it matches in check).
+# See boo#1052528 for more details.
+%define tsan_commit 68e1532492f9b3fce0e9024f3c31411105965b11
+
 %define go_api 1.8
 
 # shared library support
@@ -73,11 +83,13 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source0:http://golang.org/dl/go%{version}.src.tar.gz
+Source: http://golang.org/dl/go%{version}.src.tar.gz
 Source1:go-rpmlintrc
 Source2:go.sh
 Source4:README.SUSE
 Source6:go.gdbinit
+# We have to compile TSAN ourselves. boo#1052528
+Source100:  compiler-rt-g%{tsan_commit}.tar.xz
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
@@ -100,6 +112,8 @@
 Patch9: gcc7-go.patch
 # PATCH-FIX-OPENSUSE: Bump _MaxGomaxprocs to a larger number for NUMA machines.
 Patch10:runtime-bump-MaxGomaxprocs.patch
+# PATCH-FIX-UPSTREAM (compiler-rt): Fix sanitizer build against latest glibc
+Patch100:   fix-sanitizer-build-against-latest-glibc.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # boostrap
 %if %{with_gccgo}
@@ -119,6 +133,10 @@
 BuildRequires:  fdupes
 BuildRequires:  systemd
 Recommends: go-doc = %{version}
+%ifarch %{tsan_arch}
+# Needed to compile compiler-rt/TSAN.
+BuildRequires:  gcc-c++
+%endif
 #BNC#818502 debug edit tool of rpm fails on i586 builds
 BuildRequires:  bc
 BuildRequires:  rpm >= 4.11.1
@@ -146,6 +164,7 @@
 
 %package doc
 Summary:Go documentation
+License:BSD-3-Clause
 Group:  Documentation/Other
 Requires:   go = %{version}
 Provides:   go-doc = %{version}
@@ -153,7 +172,29 @@
 %description doc
 Go examples and documentation.
 
+%ifarch %{tsan_arch}
+# boo#1052528
+%package race
+Summary:Go runtime race detector
+License:NCSA or MIT
+Group:  Development/Languages/Other
+Url:https://compiler-rt.llvm.org/
+Requires:   go = %{version}
+Supplements:go
+ExclusiveArch:  %{tsan_arch}
+
+%description race
+Go runtime race detector libraries. Install this package if you wish to use the
+-race option, in order to detect race conditions present in your Go programs.
+%endif
+
 %prep
+%ifarch %{tsan_arch}
+# compiler-rt
+%setup -q -T -b 100 -n compiler-rt-g%{tsan_commit}
+%patch100 -p1
+%endif
+# go
 %setup -q -n go
 %patch1 -p1
 %patch2 -p1
@@ -199,6 +240,20 @@
 %endif
 
 %build
+# Remove 

commit go for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-08-28 09:56:52

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Mon Aug 28 09:56:52 2017 rev:79 rq: version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-08-24 18:19:35.902618643 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-08-28 
09:57:00.156070616 +0200
@@ -2,10 +1,0 @@
-Wed Aug  9 07:45:47 UTC 2017 - asa...@suse.com
-
-- go-race: add compiler-rt TSAN binary, necessary for the race detector builds
-  to work. This requires building compiler-rt from source (becuase upstream Go
-  stores precompiled binaries in the tree, and we cannot use them). In
-  addition, a %check was added purely to ensure that we don't install the wrong
-  version of compiler-rt. boo#1052528
-- go-rpmlintrc: add some entries to address the .syso additions.
-


Old:

  _service
  compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11.tar.xz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.jdoqja/_old  2017-08-28 09:57:02.723708809 +0200
+++ /var/tmp/diff_new_pack.jdoqja/_new  2017-08-28 09:57:02.759703738 +0200
@@ -45,16 +45,6 @@
 %define with_gccgo 1
 %endif
 
-# By default we don't include tsan. It's only supported on amd64.
-%define tsan_arch x86_64
-
-# Go has precompiled versions of LLVM's compiler-rt inside their source code.
-# We cannot ship pre-compiled binaries so we have to recompile said source,
-# however they vendor specific commits from upstream. This value comes from
-# src/runtime/race/README (and we verify that it matches in check).
-# See boo#1052528 for more details.
-%define tsan_commit 68e1532492f9b3fce0e9024f3c31411105965b11
-
 %define go_api 1.8
 
 # shared library support
@@ -83,13 +73,11 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source: http://golang.org/dl/go%{version}.src.tar.gz
+Source0:http://golang.org/dl/go%{version}.src.tar.gz
 Source1:go-rpmlintrc
 Source2:go.sh
 Source4:README.SUSE
 Source6:go.gdbinit
-# We have to compile TSAN ourselves. boo#1052528
-Source100:  compiler-rt-g%{tsan_commit}.tar.xz
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
@@ -131,10 +119,6 @@
 BuildRequires:  fdupes
 BuildRequires:  systemd
 Recommends: go-doc = %{version}
-%ifarch %{tsan_arch}
-# Needed to compile compiler-rt/TSAN.
-BuildRequires:  gcc-c++
-%endif
 #BNC#818502 debug edit tool of rpm fails on i586 builds
 BuildRequires:  bc
 BuildRequires:  rpm >= 4.11.1
@@ -162,7 +146,6 @@
 
 %package doc
 Summary:Go documentation
-License:BSD-3-Clause
 Group:  Documentation/Other
 Requires:   go = %{version}
 Provides:   go-doc = %{version}
@@ -170,28 +153,7 @@
 %description doc
 Go examples and documentation.
 
-%ifarch %{tsan_arch}
-# boo#1052528
-%package race
-Summary:Go runtime race detector
-License:NCSA or MIT
-Group:  Development/Languages/Other
-Url:https://compiler-rt.llvm.org/
-Requires:   go = %{version}
-Supplements:go
-ExclusiveArch:  %{tsan_arch}
-
-%description race
-Go runtime race detector libraries. Install this package if you wish to use the
--race option, in order to detect race conditions present in your Go programs.
-%endif
-
 %prep
-%ifarch %{tsan_arch}
-# compiler-rt
-%setup -q -T -b 100 -n compiler-rt-g%{tsan_commit}
-%endif
-# go
 %setup -q -n go
 %patch1 -p1
 %patch2 -p1
@@ -237,20 +199,6 @@
 %endif
 
 %build
-# Remove the pre-included .sysos, to avoid shipping things we didn't compile
-# (which is against the openSUSE guidelines for packaging).
-find . -type f -name '*.syso' -exec rm -vf {} \;
-
-# First, compile LLVM's TSAN, and replace the built-in with it. We can only do
-# this for amd64.
-%ifarch %{tsan_arch}
-pushd ../compiler-rt*/lib/tsan/go
-./buildgo.sh
-popd
-cp ../compiler-rt*/lib/tsan/go/race_linux_%{go_arch}.syso 
src/runtime/race/race_linux_%{go_arch}.syso
-%endif
-
-# Now, compile Go.
 %if %{with_gccgo}
 export GOROOT_BOOTSTRAP=%{_prefix}
 %else
@@ -264,8 +212,8 @@
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash
 
 cd ../
-%ifarch %{tsan_arch}
-# Install TSAN-friendly version of the std libraries.
+%ifarch x86_64
+# Install race detection version of std libraries (amd64 only)
 bin/go install -race std
 %endif
 
@@ -273,12 +221,6 @@
 bin/go install -buil

commit go for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-08-24 18:19:31

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Thu Aug 24 18:19:31 2017 rev:78 rq:518398 version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-07-30 11:26:31.652612229 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-08-24 
18:19:35.902618643 +0200
@@ -1,0 +2,10 @@
+Wed Aug  9 07:45:47 UTC 2017 - asa...@suse.com
+
+- go-race: add compiler-rt TSAN binary, necessary for the race detector builds
+  to work. This requires building compiler-rt from source (becuase upstream Go
+  stores precompiled binaries in the tree, and we cannot use them). In
+  addition, a %check was added purely to ensure that we don't install the wrong
+  version of compiler-rt. boo#1052528
+- go-rpmlintrc: add some entries to address the .syso additions.
+
+---

New:

  _service
  compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11.tar.xz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.NuAOvn/_old  2017-08-24 18:19:38.206294279 +0200
+++ /var/tmp/diff_new_pack.NuAOvn/_new  2017-08-24 18:19:38.214293153 +0200
@@ -45,6 +45,16 @@
 %define with_gccgo 1
 %endif
 
+# By default we don't include tsan. It's only supported on amd64.
+%define tsan_arch x86_64
+
+# Go has precompiled versions of LLVM's compiler-rt inside their source code.
+# We cannot ship pre-compiled binaries so we have to recompile said source,
+# however they vendor specific commits from upstream. This value comes from
+# src/runtime/race/README (and we verify that it matches in check).
+# See boo#1052528 for more details.
+%define tsan_commit 68e1532492f9b3fce0e9024f3c31411105965b11
+
 %define go_api 1.8
 
 # shared library support
@@ -73,11 +83,13 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source0:http://golang.org/dl/go%{version}.src.tar.gz
+Source: http://golang.org/dl/go%{version}.src.tar.gz
 Source1:go-rpmlintrc
 Source2:go.sh
 Source4:README.SUSE
 Source6:go.gdbinit
+# We have to compile TSAN ourselves. boo#1052528
+Source100:  compiler-rt-g%{tsan_commit}.tar.xz
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
@@ -119,6 +131,10 @@
 BuildRequires:  fdupes
 BuildRequires:  systemd
 Recommends: go-doc = %{version}
+%ifarch %{tsan_arch}
+# Needed to compile compiler-rt/TSAN.
+BuildRequires:  gcc-c++
+%endif
 #BNC#818502 debug edit tool of rpm fails on i586 builds
 BuildRequires:  bc
 BuildRequires:  rpm >= 4.11.1
@@ -146,6 +162,7 @@
 
 %package doc
 Summary:Go documentation
+License:BSD-3-Clause
 Group:  Documentation/Other
 Requires:   go = %{version}
 Provides:   go-doc = %{version}
@@ -153,7 +170,28 @@
 %description doc
 Go examples and documentation.
 
+%ifarch %{tsan_arch}
+# boo#1052528
+%package race
+Summary:Go runtime race detector
+License:NCSA or MIT
+Group:  Development/Languages/Other
+Url:https://compiler-rt.llvm.org/
+Requires:   go = %{version}
+Supplements:go
+ExclusiveArch:  %{tsan_arch}
+
+%description race
+Go runtime race detector libraries. Install this package if you wish to use the
+-race option, in order to detect race conditions present in your Go programs.
+%endif
+
 %prep
+%ifarch %{tsan_arch}
+# compiler-rt
+%setup -q -T -b 100 -n compiler-rt-g%{tsan_commit}
+%endif
+# go
 %setup -q -n go
 %patch1 -p1
 %patch2 -p1
@@ -199,6 +237,20 @@
 %endif
 
 %build
+# Remove the pre-included .sysos, to avoid shipping things we didn't compile
+# (which is against the openSUSE guidelines for packaging).
+find . -type f -name '*.syso' -exec rm -vf {} \;
+
+# First, compile LLVM's TSAN, and replace the built-in with it. We can only do
+# this for amd64.
+%ifarch %{tsan_arch}
+pushd ../compiler-rt*/lib/tsan/go
+./buildgo.sh
+popd
+cp ../compiler-rt*/lib/tsan/go/race_linux_%{go_arch}.syso 
src/runtime/race/race_linux_%{go_arch}.syso
+%endif
+
+# Now, compile Go.
 %if %{with_gccgo}
 export GOROOT_BOOTSTRAP=%{_prefix}
 %else
@@ -212,8 +264,8 @@
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash
 
 cd ../
-%ifarch x86_64
-# Install race detection version of std libraries (amd64 only)
+%ifarch %{tsan_arch}
+# Install TSAN-friendly version of the std libraries.
 bin/go install -race std
 %endif
 
@@ -221,6 +273,12 @@
 bin/go install

commit go for openSUSE:Factory

2017-07-30 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-07-30 11:25:53

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Sun Jul 30 11:25:53 2017 rev:77 rq:512221 version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-06-30 18:38:32.418384479 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-07-30 
11:26:31.652612229 +0200
@@ -1,0 +2,20 @@
+Fri Jul 21 18:51:29 UTC 2017 - jmassaguer...@suse.com
+
+- Remove ruby requirement. golang-macros are not ruby anymore, plus
+  this requirement should have been in the golang-packaging package 
+
+---
+Fri Jul  7 10:44:28 UTC 2017 - jmassaguer...@suse.com
+
+- Simplify all the "ifdef suse_version" by removing versions which
+  have reach eol (13.* 42.1 sle11*)
+
+---
+Thu Jul  6 15:18:14 UTC 2017 - jmassaguer...@suse.com
+
+- Add gcc6-go.patch for sle12 and leap42.x and use binutils-gold
+  except for s390x/s390
+  Remove gcc5-go.patch cause we use gcc6 for sle12 and leap42.x and
+  gcc7 for newer versions (factory)
+
+---
@@ -25,0 +46,5 @@
+---
+Thu May 11 13:09:03 UTC 2017 - ag...@suse.com
+
+
+- Enable gccgo with gcc-6 for SLE12

Old:

  gcc5-go.patch

New:

  gcc6-go.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.ir1SSJ/_old  2017-07-30 11:26:32.588480172 +0200
+++ /var/tmp/diff_new_pack.ir1SSJ/_new  2017-07-30 11:26:32.596479043 +0200
@@ -96,43 +96,37 @@
 # PATCH-FIX-SUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
 Patch7: fix_certificates_lookup.patch
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org - find /usr/bin/go-5 when 
bootstrapping with gcc5-go
-Patch8: gcc5-go.patch
+Patch8: gcc6-go.patch
 Patch9: gcc7-go.patch
 # PATCH-FIX-OPENSUSE: Bump _MaxGomaxprocs to a larger number for NUMA machines.
 Patch10:runtime-bump-MaxGomaxprocs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # boostrap
 %if %{with_gccgo}
-%ifarch aarch64
+%ifnarch s390 s390x
 BuildRequires:  binutils-gold
 %endif
-%if 0%{?suse_version} > 1320
-BuildRequires:  gcc7-go
+%if 0%{?suse_version} == 1315 
+# SLE12 or Leap 42.x
+BuildRequires:  gcc6-go
 %else
-BuildRequires:  gcc5-go
+BuildRequires:  gcc7-go
 %endif
 %else
+# no gcc-go
 BuildRequires:  go1.4
 %endif
-%if 0%{?suse_version} >= 1210
-BuildRequires:  systemd
-%endif
-%if 0%{?suse_version} >= 1100
 BuildRequires:  fdupes
+BuildRequires:  systemd
 Recommends: go-doc = %{version}
 #BNC#818502 debug edit tool of rpm fails on i586 builds
-%if 0%{?suse_version} > 1230
-BuildRequires:  rpm >= 4.11.1
-%endif
-%endif
 BuildRequires:  bc
+BuildRequires:  rpm >= 4.11.1
 # for go.gdbinit, directory ownership
 BuildRequires:  gdb
 Requires(post):update-alternatives
 Requires(postun):  update-alternatives
 Requires:   gcc
-# for golang-macros.rb
-Requires:   ruby
 Provides:   go = %{version}
 Provides:   go-devel = go%{version}
 Provides:   go-devel-static = go%{version}
@@ -171,10 +165,11 @@
 %endif
 %patch7 -p1
 %if %{with_gccgo}
-%if 0%{?suse_version} > 1320
-%patch9 -p1
-%else
+%if 0%{?suse_version} == 1315
+# SLE12 or Leap 42.x
 %patch8 -p1
+%else
+%patch9 -p1
 %endif
 %endif
 %patch10 -p1
@@ -288,9 +283,7 @@
 cp -r AUTHORS CONTRIBUTORS CONTRIBUTING.md LICENSE PATENTS README.md 
README.SUSE %{buildroot}%{_docdir}/go/%{go_api}
 cp -r doc/* %{buildroot}%{_docdir}/go/%{go_api}
 
-%if 0%{?suse_version} >= 1100
 %fdupes -s %{buildroot}%{_prefix}
-%endif
 
 %post
 

++ gcc5-go.patch -> gcc6-go.patch ++
--- /work/SRC/openSUSE:Factory/go/gcc5-go.patch 2017-06-09 15:55:35.539040336 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/gcc6-go.patch2017-07-30 
11:26:31.500633674 +0200
@@ -1,5 +1,5 @@
 diff --git a/src/cmd/dist/buildtool.go b/src/cmd/dist/buildtool.go
-index b0b9b2579d..1647935a2b 100644
+index b0b9b25..4a0b3fb 100644
 --- a/src/cmd/dist/buildtool.go
 +++ b/src/cmd/dist/buildtool.go
 @@ -143,7 +143,7 @@ func bootstrapBuildTools() {
@@ -7,12 +7,12 @@
// Use the math_big_pure_go build tag to disable the assembly in 
math/big
// which may contain unsupported instructions.
 -  run(workspace, ShowOutput|CheckExit, pathf("%s/bin/go", 
goroot_bootstrap), "install", "-gcflags=-

commit go for openSUSE:Factory

2017-06-30 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-06-30 18:38:30

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Fri Jun 30 18:38:30 2017 rev:76 rq:505859 version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-06-09 15:55:36.854854616 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-06-30 
18:38:32.418384479 +0200
@@ -1,0 +2,6 @@
+Sun Jun 18 21:08:10 UTC 2017 - dmuel...@suse.com
+
+- build with binutils-gold on aarch64, which is hardcoded to
+ be used for shared linking due to bugs in BFD binutils
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.mO9rm8/_old  2017-06-30 18:38:33.566223029 +0200
+++ /var/tmp/diff_new_pack.mO9rm8/_new  2017-06-30 18:38:33.570222467 +0200
@@ -103,6 +103,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # boostrap
 %if %{with_gccgo}
+%ifarch aarch64
+BuildRequires:  binutils-gold
+%endif
 %if 0%{?suse_version} > 1320
 BuildRequires:  gcc7-go
 %else




commit go for openSUSE:Factory

2017-06-09 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-06-09 15:55:34

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Fri Jun  9 15:55:34 2017 rev:75 rq:501614 version:1.8.3

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2017-01-24 10:43:08.299446976 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-06-09 
15:55:36.854854616 +0200
@@ -1,0 +2,98 @@
+Fri Jun  2 13:08:56 UTC 2017 - th...@suse.de
+
+- Build with gcc-7 on Tumbleweed
+  + Add gcc7-go.patch
+
+---
+Mon May 29 07:32:53 UTC 2017 - th...@suse.de
+
+- Minor update to go1.8.3
+
+  Fixes included:
+
+  * go1.8.2 (released 2017/05/23) includes a security fix to the
+crypto/elliptic package (CVE-2017-8932, bsc#1040618).
+
+  * go1.8.3 (released 2017/05/24) includes fixes to the compiler, runtime,
+documentation, and the database/sql package.
+
+---
+Wed May  3 18:14:48 UTC 2017 - jmassaguer...@suse.com
+
+- fix update-alternatives usage. This way, we can either use go1.7 or
+  go 1.8 without having to change the docker spec file or any other
+  package that requires go 1.7 but it will require go 1.8 in the
+  future.
+
+---
+Thu Apr 27 14:16:00 UTC 2017 - th...@suse.de
+
+- Update to go1.8.1
+
+  Most of its changes are in the implementation of the toolchain, runtime, and
+  libraries. There are two minor changes to the language specification. As
+  always, the release maintains the Go 1 promise of compatibility. We expect
+  almost all Go programs to continue to compile and run as before.
+
+  The release adds support for 32-bit MIPS, updates the compiler back end to
+  generate more efficient code, reduces GC pauses by eliminating stop-the-world
+  stack rescanning, adds HTTP/2 Push support, adds HTTP graceful shutdown, adds
+  more context support, enables profiling mutexes, and simplifies sorting
+  slices.
+
+  more at: https://golang.org/doc/go1.8
+
+  Update patches:
+- allow-binary-only-packages.patch
+- gcc5-go.patch
+- gcc6-go.patch
+
+---
+Wed Apr 26 18:48:39 UTC 2017 - jmassaguer...@suse.com
+
+- Remove mercurial build dependency. Mercurial is a version control
+  system, like git. We are not using this in the build service to
+  get the sources.
+
+- Do not set GOBIN. If GOBIN is unset, by default go assumes GOPATH/bin.
+  This way, the user can change GOPATH without the need to change GOBIN.
+  fix bsc#1026658
+
+---
+Thu Apr 13 16:01:22 UTC 2017 - jmassaguer...@suse.com
+
+- minor update to go1.7.5 because this is required by
+  docker-v17.04.00-ce (bsc#1034053)
+
+  fixes included:
+
+  * go1.7.1 (released 2016/09/07) includes fixes to the compiler, runtime,
+documentation, and the compress/flate, hash/crc32, io, net, net/http,
+path/filepath, reflect, and syscall packages.
+See the Go 1.7.1 milestone on our issue tracker for details:
+  https://github.com/golang/go/issues?q=milestone%3AGo1.7.1
+
+  * go1.7.2 was not released. No changelog.
+
+  * go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime,
+and the crypto/cipher, crypto/tls, net/http, and strings packages.
+See the Go 1.7.3 milestone on our issue tracker for details:
+  https://github.com/golang/go/issues?q=milestone%3AGo1.7.3
+
+  * go1.7.4 (released 2016/12/01) includes two security fixes.
+See the Go 1.7.4 milestone on our issue tracker for details:
+  https://github.com/golang/go/issues?q=milestone%3AGo1.7.4
+
+  * go1.7.5 (released 2017/01/26) includes fixes to the compiler, runtime,
+and the crypto/x509 and time packages.
+See the Go 1.7.5 milestone on our issue tracker for details:
+  https://github.com/golang/go/issues?q=milestone%3AGo1.7.5
+
+---
+Fri Mar 31 10:59:40 UTC 2017 - jmassaguer...@suse.com
+
+- Add a patch to bump _MaxGomaxprocs so that things like Docker and k8s can run
+  properly on NUMA machines. Don't bump this number too high. bsc#1028865
+  + runtime-bump-MaxGomaxprocs.patch
+
+---
@@ -81,0 +180,5 @@
+Tue Jul 26 16:10:56 UTC 2016 - jmassaguer...@suse.com
+
+- CVE-2016-5386.patch: fixes bsc#988487 aka https://httpoxy.org/
+
+---
@@ -90 +193 @@
-This fixes: bsc#988487
+This fixes: bsc#988487 (CVE-2016-5386), so we remove CVE-2016-5386.patch)
@@ -115 +218 @@
-Wed Apr 13 18:

commit go for openSUSE:Factory

2017-01-24 Thread root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2017-01-24 10:43:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-11-12 13:02:58.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2017-01-24 
10:43:08.299446976 +0100
@@ -1,0 +2,15 @@
+Fri Dec 30 12:18:47 UTC 2016 - b...@suse.com
+
+- set libdir for s390x in go.sh
+
+---
+Fri Dec 30 12:02:55 UTC 2016 - b...@suse.com
+
+- define go_arch to s390x
+
+---
+Wed Dec 21 23:00:16 UTC 2016 - mp...@suse.com
+
+- Added s390x to the list of architectures that get built.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.bZxgJ3/_old  2017-01-24 10:43:09.171323179 +0100
+++ /var/tmp/diff_new_pack.bZxgJ3/_new  2017-01-24 10:43:09.171323179 +0100
@@ -136,7 +136,7 @@
 # go-vim/emacs were separate projects starting from 1.4
 Obsoletes:  go-emacs <= 1.3.3
 Obsoletes:  go-vim <= 1.3.3
-ExclusiveArch:  %ix86 x86_64 aarch64 ppc64 ppc64le
+ExclusiveArch:  %ix86 x86_64 aarch64 ppc64 ppc64le s390x
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -192,6 +192,9 @@
 %ifarch ppc64le
 %define go_arch ppc64le
 %endif
+%ifarch s390x
+%define go_arch s390x
+%endif
 
 %build
 %if %{with_gccgo}

++ go.sh ++
--- /var/tmp/diff_new_pack.bZxgJ3/_old  2017-01-24 10:43:09.271308982 +0100
+++ /var/tmp/diff_new_pack.bZxgJ3/_new  2017-01-24 10:43:09.275308414 +0100
@@ -25,6 +25,10 @@
export GOARCH=arm
libdir=lib
;; 
+s390x)
+   export GOARCH=s390x
+   libdir=lib64
+   ;; 
 esac
 export GOROOT=/usr/$libdir/go
 export GOBIN=/usr/bin




commit go for openSUSE:Factory

2016-11-12 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-11-12 13:02:57

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-11-04 21:02:27.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-11-12 
13:02:58.0 +0100
@@ -1,0 +2,8 @@
+Fri Nov 11 04:22:29 UTC 2016 - asa...@suse.com
+
+- Disable stripping to fix __.PKGDEF issues. bsc#964546
+  There is an upstream issue about it as well, with a patch which will
+  hopefully make Go more resilient to this issue.
+   https://github.com/golang/go/issues/17890
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.Nubj05/_old  2016-11-12 13:02:59.0 +0100
+++ /var/tmp/diff_new_pack.Nubj05/_new  2016-11-12 13:02:59.0 +0100
@@ -14,8 +14,15 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+# nodebuginfo
 
 
+# strip will cause Go's .a archives to become invalid because strip appears to
+# reassemble the archive incorrectly. This is a known issue upstream
+# (https://github.com/golang/go/issues/17890), but we have to deal with it in
+# the meantime.
+%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
+
 # By default use go and not gccgo
 %define with_gccgo 0
 




commit go for openSUSE:Factory

2016-11-04 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-11-04 21:02:26

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-09-01 14:03:29.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-11-04 
21:02:27.0 +0100
@@ -1,0 +2,47 @@
+Thu Nov  3 16:17:51 UTC 2016 - jmassaguer...@suse.com
+
+- Make sure we build go using gcc-go in Factory cause there is no go1.4 
+
+---
+Mon Sep 26 14:29:33 UTC 2016 - jmassaguer...@suse.com
+
+- update to go1.7.0 (bsc#996303)
+
+  Most of its changes are in the implementation of the toolchain,
+  runtime, and libraries. There is one minor change to the language
+  specification.
+
+  The release adds a port to IBM LinuxOne; updates the x86-64 compiler
+  back end to generate more efficient code; includes the context package,
+  promoted from the x/net subrepository and now used in the standard
+  library; and adds support in the testing package for creating
+  hierarchies of tests and benchmarks. The release also finalizes
+  the vendoring support started in Go 1.5, making it a standard feature. 
+
+  more at: https://golang.org/doc/go1.7
+
+  Review patches: 
+- armv6l.patch
+- fix_certificates_lookup.patch,
+- go-1.5-install-dont-reinstall-stdlibs.patch
+- gcc5-go.patch
+
+---
+Fri Sep 23 15:25:15 UTC 2016 - jmassaguer...@suse.com
+
+- Reverting to use gcc-go instead of go1.4 for Factory and Leap
+  The fallback boostrap method via go1.4 does not work for Factory because
+  of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
+  Leap will work but we don't have go1.4 in there.
+
+---
+Wed Sep 21 15:35:51 UTC 2016 - jmassaguer...@suse.com
+
+- update to gcc6-go for Factory
+- add gcc6-go.patch for Factory
+- build with gcc-go for aarch64, ppc64le and ppc64, but for x86_64
+  always use go1.4, as it should be according to
+  https://golang.org/doc/install/source#go14
+
+
+---

Old:

  go1.6.3.src.tar.gz

New:

  gcc6-go.patch
  go1.7.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.c00YeD/_old  2016-11-04 21:02:29.0 +0100
+++ /var/tmp/diff_new_pack.c00YeD/_new  2016-11-04 21:02:29.0 +0100
@@ -16,23 +16,29 @@
 #
 
 
+# By default use go and not gccgo
+%define with_gccgo 0
+
+# The fallback boostrap method via go1.4 does not work for Factory because
+# of a known bug with binutils 2.27 https://github.com/golang/go/issues/16906.
+# Leap will work but we don't have go1.4 in there.
 %if 0%{?suse_version} > 1320
+# openSUSE Factory
 %define with_gccgo 1
 %else
 %if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
+# openSUSE Leap
 %define with_gccgo 1
-%else
+%endif
+%endif
+
 # The fallback bootstrap method via go1.4 doesn't work
 # for aarch64 nor ppc64le because go 1.4 did not support that architecture.
-%ifarch aarch64 ppc64le
+%ifarch aarch64 ppc64le ppc64
 %define with_gccgo 1
-%else
-%define with_gccgo 0
-%endif
-%endif
 %endif
 
-%define go_api 1.6
+%define go_api 1.7
 
 # shared library support
 %define shared_supported %(echo "%{go_api} >= 1.5" | bc -l)
@@ -54,13 +60,13 @@
 %endif
 
 Name:   go
-Version:1.6.3
+Version:1.7.0
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source0:http://golang.org/dl/go%{version}.src.tar.gz
+Source0:http://golang.org/dl/go1.7.src.tar.gz
 Source1:go-rpmlintrc
 Source2:go.sh
 Source4:README.SUSE
@@ -84,10 +90,15 @@
 Patch7: fix_certificates_lookup.patch
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org - find /usr/bin/go-5 when 
bootstrapping with gcc5-go
 Patch8: gcc5-go.patch
+Patch9: gcc6-go.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # boostrap
 %if %{with_gccgo}
+%if 0%{?suse_version} > 1320 
+BuildRequires:  gcc6-go
+%else
 BuildRequires:  gcc5-go
+%endif
 %else
 BuildRequires:  go1.4
 %endif
@@ -147,8 +158,12 @@
 %endif
 %patch7 -p1
 %if %{with_gccgo}
+%if 0%{?suse_version} > 1320 
+%patch9 -p1
+%else
 %patch8 -p1
 %endif
+%endif
 cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)

++ armv6l.patch ++
--- /var/tmp/diff_new_pack.c00YeD/_old  2016-11-04 21:02:29.0 +0100
+++ 

commit go for openSUSE:Factory

2016-09-01 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-09-01 14:03:28

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-08-17 12:05:02.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-09-01 
14:03:29.0 +0200
@@ -1,0 +2,5 @@
+Tue Aug 30 14:38:11 UTC 2016 - jmassaguer...@suse.com
+
+- build ppc64le with gcc-go 
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.BoBBi4/_old  2016-09-01 14:03:30.0 +0200
+++ /var/tmp/diff_new_pack.BoBBi4/_new  2016-09-01 14:03:30.0 +0200
@@ -23,8 +23,8 @@
 %define with_gccgo 1
 %else
 # The fallback bootstrap method via go1.4 doesn't work
-# for aarch64 because go 1.4 did not support that architecture.
-%ifarch aarch64
+# for aarch64 nor ppc64le because go 1.4 did not support that architecture.
+%ifarch aarch64 ppc64le
 %define with_gccgo 1
 %else
 %define with_gccgo 0




commit go for openSUSE:Factory

2016-08-17 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-08-17 12:04:59

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-08-03 11:45:31.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-08-17 
12:05:02.0 +0200
@@ -1,0 +2,5 @@
+Sun Aug 14 03:32:46 UTC 2016 - i...@marguerite.su
+
+- fix source location for 3rd-party libraries
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.CJbY2r/_old  2016-08-17 12:05:03.0 +0200
+++ /var/tmp/diff_new_pack.CJbY2r/_new  2016-08-17 12:05:03.0 +0200
@@ -204,6 +204,7 @@
 ln -s %{_libdir}/%{name}/contrib/pkg/ %{buildroot}%{_datadir}/go/contrib/pkg
 install -d  %{buildroot}%{_datadir}/go/contrib/cmd
 install -d  %{buildroot}%{_datadir}/go/contrib/src
+ln -s %{_datadir}/go/contrib/src/ %{buildroot}%{_libdir}/%{name}/contrib/src
 install -Dm644 README.SUSE $GOROOT/contrib/
 ln -s %{_libdir}/go/contrib/README.SUSE 
%{buildroot}%{_datadir}/go/contrib/README.SUSE
 




commit go for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-08-03 11:45:20

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-07-24 19:53:26.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-08-03 
11:45:31.0 +0200
@@ -1,0 +2,11 @@
+Tue Jul 26 15:13:08 UTC 2016 - jmassaguer...@suse.com
+
+- update go go1.6.3 (released 2016/07/17) includes security fixes to the
+net/http/cgi package and net/http package when used 
in
+a CGI environment. This release also adds support for macOS Sierra.
+See the https://github.com/golang/go/issues?q=milestone%3AGo1.6.3";>Go
+1.6.3 milestone on our issue tracker for details.
+
+This fixes: bsc#988487
+
+---

Old:

  go1.6.2.src.tar.gz

New:

  go1.6.3.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.BCJ9DG/_old  2016-08-03 11:45:33.0 +0200
+++ /var/tmp/diff_new_pack.BCJ9DG/_new  2016-08-03 11:45:33.0 +0200
@@ -54,7 +54,7 @@
 %endif
 
 Name:   go
-Version:1.6.2
+Version:1.6.3
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go1.6.2.src.tar.gz -> go1.6.3.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.6.2.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.6.3.src.tar.gz differ: char 143, line 1




commit go for openSUSE:Factory

2016-07-24 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-07-24 19:53:03

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-07-05 09:52:47.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-07-24 
19:53:26.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 19 10:54:20 UTC 2016 - norm...@linux.vnet.ibm.com
+
+- do not set with_shared for ppc64 (BE)
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.xpHYdZ/_old  2016-07-24 19:53:28.0 +0200
+++ /var/tmp/diff_new_pack.xpHYdZ/_new  2016-07-24 19:53:28.0 +0200
@@ -49,6 +49,9 @@
 %else
 %define with_shared 0
 %endif
+%ifarch ppc64
+%define with_shared 0
+%endif
 
 Name:   go
 Version:1.6.2




commit go for openSUSE:Factory

2016-07-05 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-07-05 09:52:25

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-06-19 13:54:13.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-07-05 
09:52:47.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun 23 16:27:56 UTC 2016 - dmuel...@suse.com
+
+- bootstrap aarch64 even on SLE via gcc5-go
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.qy9qmK/_old  2016-07-05 09:52:48.0 +0200
+++ /var/tmp/diff_new_pack.qy9qmK/_new  2016-07-05 09:52:48.0 +0200
@@ -22,9 +22,15 @@
 %if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
 %define with_gccgo 1
 %else
+# The fallback bootstrap method via go1.4 doesn't work
+# for aarch64 because go 1.4 did not support that architecture.
+%ifarch aarch64
+%define with_gccgo 1
+%else
 %define with_gccgo 0
 %endif
 %endif
+%endif
 
 %define go_api 1.6
 




commit go for openSUSE:Factory

2016-06-19 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-06-19 13:54:11

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-06-12 18:55:29.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-06-19 
13:54:13.0 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 01:52:50 UTC 2016 - i...@marguerite.su
+
+- install shared libraries.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.SAspSt/_old  2016-06-19 13:54:14.0 +0200
+++ /var/tmp/diff_new_pack.SAspSt/_new  2016-06-19 13:54:14.0 +0200
@@ -27,6 +27,23 @@
 %endif
 
 %define go_api 1.6
+
+# shared library support
+%define shared_supported %(echo "%{go_api} >= 1.5" | bc -l)
+%if %{shared_supported}
+%if %{with_gccgo}
+%define with_shared 1
+%else
+%ifarch %ix86 %arm x86_64 aarch64
+%define with_shared 1
+%else
+%define with_shared 0
+%endif
+%endif
+%else
+%define with_shared 0
+%endif
+
 Name:   go
 Version:1.6.2
 Release:0
@@ -77,6 +94,7 @@
 BuildRequires:  rpm >= 4.11.1
 %endif
 %endif
+BuildRequires:  bc
 # for go.gdbinit, directory ownership
 BuildRequires:  gdb
 Requires(post):update-alternatives
@@ -161,7 +179,10 @@
 %ifarch x86_64
 # Install race detection version of std libraries (amd64 only)
 bin/go install -race std
-bin/go install -buildmode=shared std
+%endif
+ 
+%if %{with_shared}
+bin/go install -buildmode=shared -linkshared std
 %endif
 
 %install




commit go for openSUSE:Factory

2016-06-12 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-06-12 18:55:27

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-04-14 13:08:45.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-06-12 
18:55:29.0 +0200
@@ -1,0 +2,7 @@
+Fri Jun 10 16:00:14 UTC 2016 - i...@marguerite.su
+
+- update version 1.6.2
+  * fixes to the compiler, runtime, tools, documentation,
+and the mime/multipart, net/http, and sort packages.
+
+---

Old:

  go1.6.1.src.tar.gz

New:

  go1.6.2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.UsiDI8/_old  2016-06-12 18:55:31.0 +0200
+++ /var/tmp/diff_new_pack.UsiDI8/_new  2016-06-12 18:55:31.0 +0200
@@ -28,7 +28,7 @@
 
 %define go_api 1.6
 Name:   go
-Version:1.6.1
+Version:1.6.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go1.6.1.src.tar.gz -> go1.6.2.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.6.1.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.6.2.src.tar.gz differ: char 24, line 1




commit go for openSUSE:Factory

2016-04-14 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-04-14 13:08:44

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-02-22 08:58:18.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-04-14 
13:08:45.0 +0200
@@ -1,0 +2,6 @@
+Wed Apr 13 18:00:49 UTC 2016 - jmassaguer...@suse.com
+
+- fix bsc#974232: CVE-2016-3959: go: Infinite loop in several big
+  integer routines
+
+---

Old:

  go1.6.src.tar.gz

New:

  go1.6.1.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.SQDG7w/_old  2016-04-14 13:08:46.0 +0200
+++ /var/tmp/diff_new_pack.SQDG7w/_new  2016-04-14 13:08:46.0 +0200
@@ -28,7 +28,7 @@
 
 %define go_api 1.6
 Name:   go
-Version:1.6
+Version:1.6.1
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go1.6.src.tar.gz -> go1.6.1.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.6.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.6.1.src.tar.gz differ: char 24, line 1




commit go for openSUSE:Factory

2016-02-21 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-02-22 08:58:06

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-02-18 12:36:54.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-02-22 
08:58:18.0 +0100
@@ -1,0 +2,17 @@
+Fri Feb 19 09:27:32 UTC 2016 - jmassaguer...@suse.com
+
+- Update to version 1.6
+
+  * On Linux on little-endian 64-bit PowerPC (linux/ppc64le), Go 1.6 now 
supports cgo with external linking and is roughly feature complete.
+  * Vendoring support
+  * HTTP2 transparent support
+  * fix gc and gccgo incompatibility regarding embedded unexported struct 
types containing exported fields
+  * Linux on 64-bit MIPS and Android on 32-bit x86
+  * enforced rules for sharing Go pointers with C
+  * new mechanism for template reuse
+  * performance improvements
+  ... and more!
+
+   see more in https://tip.golang.org/doc/go1.6 
+
+---

Old:

  go1.5.3.src.tar.gz

New:

  go1.6.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.K4wojR/_old  2016-02-22 08:58:19.0 +0100
+++ /var/tmp/diff_new_pack.K4wojR/_new  2016-02-22 08:58:19.0 +0100
@@ -26,9 +26,9 @@
 %endif
 %endif
 
-%define go_api 1.5
+%define go_api 1.6
 Name:   go
-Version:1.5.3
+Version:1.6
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ allow-binary-only-packages.patch ++
--- /var/tmp/diff_new_pack.K4wojR/_old  2016-02-22 08:58:20.0 +0100
+++ /var/tmp/diff_new_pack.K4wojR/_new  2016-02-22 08:58:20.0 +0100
@@ -1,13 +1,13 @@
-Index: go/src/cmd/go/pkg.go
-===
 go.orig/src/cmd/go/pkg.go
-+++ go/src/cmd/go/pkg.go
-@@ -341,7 +341,7 @@ func loadImport(path, srcDir string, par
-   //
-   // TODO: After Go 1, decide when to pass build.AllowBinary here.
-   // See issue 3268 for mistakes to avoid.
--  bp, err := buildContext.Import(path, srcDir, build.ImportComment)
-+  bp, err := buildContext.Import(path, srcDir, build.AllowBinary | 
build.ImportComment)
- 
-   // If we got an error from go/build about package not found,
-   // it contains the directories from $GOROOT and $GOPATH that
+diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
+index 0c0cf07..4c0e450 100644
+--- a/src/cmd/go/pkg.go
 b/src/cmd/go/pkg.go
+@@ -365,7 +365,7 @@ func loadImport(path, srcDir string, parent *Package, stk 
*importStack, importPo
+   // Not vendoring, or we already found the vendored path.
+   buildMode |= build.IgnoreVendor
+   }
+-  bp, err := buildContext.Import(path, srcDir, buildMode)
++  bp, err := buildContext.Import(path, srcDir, 
build.AllowBinary|buildMode)
+   bp.ImportPath = importPath
+   if gobin != "" {
+   bp.BinDir = gobin

++ armv6l.patch ++
--- /var/tmp/diff_new_pack.K4wojR/_old  2016-02-22 08:58:20.0 +0100
+++ /var/tmp/diff_new_pack.K4wojR/_new  2016-02-22 08:58:20.0 +0100
@@ -1,5 +1,5 @@
 a/src/runtime/os2_linux.go
-+++ b/src/runtime/os2_linux.go
+--- a/src/runtime/os2_linux_generic.go
 b/src/runtime/os2_linux_generic.go
 @@ -6,7 +6,7 @@
  
  const (

++ fix_certificates_lookup.patch ++
--- /var/tmp/diff_new_pack.K4wojR/_old  2016-02-22 08:58:20.0 +0100
+++ /var/tmp/diff_new_pack.K4wojR/_new  2016-02-22 08:58:20.0 +0100
@@ -1,22 +1,8 @@
-Index: go/src/crypto/x509/root_linux.go
-===
 go.orig/src/crypto/x509/root_linux.go
-+++ go/src/crypto/x509/root_linux.go
-@@ -6,8 +6,5 @@ package x509
- 
- // Possible certificate files; stop after finding one.
- var certFiles = []string{
--  "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
--  "/etc/pki/tls/certs/ca-bundle.crt",   // Fedora/RHEL
--  "/etc/ssl/ca-bundle.pem", // OpenSUSE
--  "/etc/pki/tls/cacert.pem",// OpenELEC
-+  "/etc/ssl/ca-bundle.pem", // openSUSE and SLE12+
- }
-Index: go/src/crypto/x509/root_unix.go
-===
 go.orig/src/crypto/x509/root_unix.go
-+++ go/src/crypto/x509/root_unix.go
-@@ -6,12 +6,15 @@
+diff --git a/src/crypto/x509/root_unix.go b/src/crypto/x509/root_unix.go
+index 9f06f9d..b3b2bb8 100644
+--- a/src/crypto/x509/root_unix.go
 b/src/crypto/x509/root_unix.g

commit go for openSUSE:Factory

2016-02-18 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-02-18 11:07:44

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-01-12 16:13:08.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-02-18 
12:36:54.0 +0100
@@ -1,0 +2,7 @@
+Wed Feb 10 21:46:59 UTC 2016 - fcaste...@suse.com
+
+- Update to version 1.5.3:
+  * CVE-2015-8618: go: Carry propagation in Int.Exp Montgomery code in
+math/big library (bnc#960151)
+
+---

Old:

  go1.5.2.src.tar.gz

New:

  go1.5.3.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.FqHOHv/_old  2016-02-18 12:36:56.0 +0100
+++ /var/tmp/diff_new_pack.FqHOHv/_new  2016-02-18 12:36:56.0 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
+%if 0%{?suse_version} > 1320
 %define with_gccgo 1
 %else
 %if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
@@ -28,7 +28,7 @@
 
 %define go_api 1.5
 Name:   go
-Version:1.5.2
+Version:1.5.3
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go1.5.2.src.tar.gz -> go1.5.3.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.5.2.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.5.3.src.tar.gz differ: char 22, line 1




commit go for openSUSE:Factory

2016-01-12 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-01-12 16:12:54

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2016-01-07 00:24:33.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-01-12 
16:13:08.0 +0100
@@ -1,0 +2,5 @@
+Sun Jan 10 17:01:28 UTC 2016 - i...@marguerite.su
+
+- macro.go and golang-macros.rb moved to golang-packaging
+
+---

Old:

  golang-macros.rb
  macros.go



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.G6w49d/_old  2016-01-12 16:13:09.0 +0100
+++ /var/tmp/diff_new_pack.G6w49d/_new  2016-01-12 16:13:09.0 +0100
@@ -37,9 +37,7 @@
 Source0:http://golang.org/dl/go%{version}.src.tar.gz
 Source1:go-rpmlintrc
 Source2:go.sh
-Source3:macros.go
 Source4:README.SUSE
-Source5:golang-macros.rb
 Source6:go.gdbinit
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
@@ -145,7 +143,6 @@
 %ifarch ppc64le
 %define go_arch ppc64le
 %endif
-sed -i 's|GOARCH|%{go_arch}|' %{SOURCE3}
 
 %build
 %if %{with_gccgo}
@@ -160,9 +157,9 @@
 cd src
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash
 
+cd ../
 %ifarch x86_64
 # Install race detection version of std libraries (amd64 only)
-cd ../
 bin/go install -race std
 bin/go install -buildmode=shared std
 %endif
@@ -218,10 +215,6 @@
 cp -r AUTHORS CONTRIBUTORS CONTRIBUTING.md LICENSE PATENTS README.md 
README.SUSE %{buildroot}%{_docdir}/%{name}
 cp -r doc/* %{buildroot}%{_docdir}/%{name}
 
-# install RPM macros ($GOARCH prepared in %%prep section)
-install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
-install -Dm755 %{SOURCE5} %{buildroot}%{_prefix}/lib/rpm/golang-macros.rb
-
 # gdbinit
 mkdir -p %{buildroot}%{_sysconfdir}/gdbinit.d
 install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/gdbinit.d/go.gdb
@@ -254,8 +247,6 @@
 %ghost %{_sysconfdir}/alternatives/gofmt
 %ghost %{_sysconfdir}/alternatives/go.sh
 %config %{_sysconfdir}/profile.d/go.sh
-%config %{_sysconfdir}/rpm/macros.go
-%{_prefix}/lib/rpm/golang-macros.rb
 %config %{_sysconfdir}/gdbinit.d/go.gdb
 %dir %{_docdir}/%{name}/
 %doc %{_docdir}/%{name}/AUTHORS




commit go for openSUSE:Factory

2016-01-06 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2016-01-07 00:24:31

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-12-24 12:17:15.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2016-01-07 
00:24:33.0 +0100
@@ -1,0 +2,15 @@
+Wed Dec 30 15:41:02 UTC 2015 - i...@marguerite.su
+
+- macro.go:
+  * added golang-macros.rb to deal with complicated macros
+that are hard to be written in shell script
+  * support "--with-buildid" which is the former ugly
+"WITH_FAKE_BUILDID" environment variable hack
+  * support "--shared" which is "-buildmode=shared -linkshared"
+in case anyone need it
+  * add go_api_ver macro which is currently 1.5
+- install shared stdlib on x86_64
+- drop go-wiki-gadget.xml: it hasn't been used from the beginning
+- add go.gdbinit for debug friendly
+
+---

Old:

  go-wiki-gadget.xml

New:

  go.gdbinit
  golang-macros.rb



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.2JN1BL/_old  2016-01-07 00:24:35.0 +0100
+++ /var/tmp/diff_new_pack.2JN1BL/_new  2016-01-07 00:24:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 %endif
 %endif
 
+%define go_api 1.5
 Name:   go
 Version:1.5.2
 Release:0
@@ -37,8 +38,9 @@
 Source1:go-rpmlintrc
 Source2:go.sh
 Source3:macros.go
-Source4:go-wiki-gadget.xml
-Source5:README.SUSE
+Source4:README.SUSE
+Source5:golang-macros.rb
+Source6:go.gdbinit
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
@@ -65,7 +67,6 @@
 %else
 BuildRequires:  go1.4
 %endif
-BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
 BuildRequires:  mercurial
 BuildRequires:  systemd
@@ -78,12 +79,16 @@
 BuildRequires:  rpm >= 4.11.1
 %endif
 %endif
+# for go.gdbinit, directory ownership
+BuildRequires:  gdb
 Requires(post):update-alternatives
 Requires(postun):  update-alternatives
 Requires:   gcc
+# for golang-macros.rb
+Requires:   ruby
 Provides:   go-devel = %{name}%{version}
 Provides:   go-devel-static = %{name}%{version}
-Provides:   golang(API) = 1.5
+Provides:   golang(API) = %{go_api}
 Obsoletes:  go-devel < %{name}%{version}
 # go-vim/emacs were separate projects starting from 1.4
 Obsoletes:  go-emacs <= 1.3.3
@@ -119,10 +124,9 @@
 %if %{with_gccgo}
 %patch8 -p1
 %endif
-cp %{SOURCE5} .
+cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)
-cp %{SOURCE3} go.macros
 %ifarch %ix86
 %define go_arch 386
 %endif
@@ -141,7 +145,7 @@
 %ifarch ppc64le
 %define go_arch ppc64le
 %endif
-sed -i 's|GOARCH|%{go_arch}|' go.macros
+sed -i 's|GOARCH|%{go_arch}|' %{SOURCE3}
 
 %build
 %if %{with_gccgo}
@@ -160,6 +164,7 @@
 # Install race detection version of std libraries (amd64 only)
 cd ../
 bin/go install -race std
+bin/go install -buildmode=shared std
 %endif
 
 %install
@@ -214,7 +219,15 @@
 cp -r doc/* %{buildroot}%{_docdir}/%{name}
 
 # install RPM macros ($GOARCH prepared in %%prep section)
-install -Dm644 go.macros %{buildroot}%{_sysconfdir}/rpm/macros.go
+install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
+install -Dm755 %{SOURCE5} %{buildroot}%{_prefix}/lib/rpm/golang-macros.rb
+
+# gdbinit
+mkdir -p %{buildroot}%{_sysconfdir}/gdbinit.d
+install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/gdbinit.d/go.gdb
+%if "%{_lib}" == "lib64"
+sed -i "s/lib/lib64/" %{buildroot}%{_sysconfdir}/gdbinit.d/go.gdb
+%endif
 
 %if 0%{?suse_version} >= 1100
 %fdupes -s %{buildroot}%{_prefix}
@@ -242,6 +255,8 @@
 %ghost %{_sysconfdir}/alternatives/go.sh
 %config %{_sysconfdir}/profile.d/go.sh
 %config %{_sysconfdir}/rpm/macros.go
+%{_prefix}/lib/rpm/golang-macros.rb
+%config %{_sysconfdir}/gdbinit.d/go.gdb
 %dir %{_docdir}/%{name}/
 %doc %{_docdir}/%{name}/AUTHORS
 %doc %{_docdir}/%{name}/CONTRIBUTORS

++ go.gdbinit ++
add-auto-load-safe-path /usr/lib/go/src/runtime/runtime-gdb.py
++ golang-macros.rb ++
#!/usr/bin/env ruby

require 'fileutils'
require 'securerandom'
require 'find'

# GLOBAL RPM MACROS
if Fi

commit go for openSUSE:Factory

2015-12-24 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-12-24 12:17:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-10-28 17:30:35.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-12-24 
12:17:15.0 +0100
@@ -1,0 +2,8 @@
+Thu Dec 10 19:25:18 UTC 2015 - matwey.korni...@gmail.com
+
+- Updated to 1.5.2:
+   This release includes bug fixes to the compiler,
+linker, and the mime/multipart, net, and runtime packages.
+https://golang.org/doc/devel/release.html#go1.5.minor
+
+---

Old:

  go1.5.1.src.tar.gz

New:

  go1.5.2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.YfPQUh/_old  2015-12-24 12:17:20.0 +0100
+++ /var/tmp/diff_new_pack.YfPQUh/_new  2015-12-24 12:17:20.0 +0100
@@ -27,7 +27,7 @@
 %endif
 
 Name:   go
-Version:1.5.1
+Version:1.5.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause

++ go-1.5-build-dont-reinstall-stdlibs.patch ++
--- /var/tmp/diff_new_pack.YfPQUh/_old  2015-12-24 12:17:20.0 +0100
+++ /var/tmp/diff_new_pack.YfPQUh/_new  2015-12-24 12:17:20.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- go.orig/src/cmd/go/build.go
 +++ go/src/cmd/go/build.go
-@@ -154,6 +154,7 @@ func init() {
+@@ -153,6 +153,7 @@ func init() {
  }
  
  // Flags set by multiple commands.
@@ -10,7 +10,7 @@
  var buildA bool   // -a flag
  var buildN bool   // -n flag
  var buildP = runtime.NumCPU() // -p flag
-@@ -210,6 +211,8 @@ func init() {
+@@ -209,6 +210,8 @@ func init() {
  // addBuildFlags adds the flags common to the build, clean, get,
  // install, list, run, and test commands.
  func addBuildFlags(cmd *Command) {
@@ -19,7 +19,7 @@
cmd.Flag.BoolVar(&buildA, "a", false, "")
cmd.Flag.BoolVar(&buildN, "n", false, "")
cmd.Flag.IntVar(&buildP, "p", buildP, "")
-@@ -1503,6 +1506,11 @@ func (b *builder) linkShared(a *action)
+@@ -1502,6 +1505,11 @@ func (b *builder) linkShared(a *action)
  
  // install is the action for installing a single package or executable.
  func (b *builder) install(a *action) (err error) {

++ go-1.5-install-dont-reinstall-stdlibs.patch ++
--- /var/tmp/diff_new_pack.YfPQUh/_old  2015-12-24 12:17:20.0 +0100
+++ /var/tmp/diff_new_pack.YfPQUh/_new  2015-12-24 12:17:20.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- go.orig/src/cmd/go/pkg.go
 +++ go/src/cmd/go/pkg.go
-@@ -1373,6 +1373,13 @@ func isStale(p *Package) bool {
+@@ -1374,6 +1374,13 @@ func isStale(p *Package) bool {
return false
}
  


++ go1.5.1.src.tar.gz -> go1.5.2.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.5.1.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.5.2.src.tar.gz differ: char 20, line 1

++ tools-packaging.patch ++
--- /var/tmp/diff_new_pack.YfPQUh/_old  2015-12-24 12:17:20.0 +0100
+++ /var/tmp/diff_new_pack.YfPQUh/_new  2015-12-24 12:17:20.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- go.orig/src/cmd/go/pkg.go
 +++ go/src/cmd/go/pkg.go
-@@ -492,7 +492,13 @@ func (p *Package) load(stk *importStack,
+@@ -781,7 +781,13 @@ func (p *Package) load(stk *importStack,
if goTools[p.ImportPath] == toTool {
// This is for 'go tool'.
// Override all the usual logic and force it into the 
tool directory.




commit go for openSUSE:Factory

2015-10-28 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-10-28 17:30:26

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-10-20 00:06:00.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-10-28 
17:30:35.0 +0100
@@ -1,0 +2,9 @@
+Sun Oct 25 08:24:29 UTC 2015 - guol...@126.com
+
+- Updated to 1.5.1
+   This release includes bug fixes to the go command,
+the compiler, assembler, and the fmt, net/textproto,
+net/http, and runtime packages.
+https://golang.org/doc/devel/release.html#go1.5.minor
+
+---

Old:

  go1.5.src.tar.gz

New:

  go1.5.1.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.8Vee8y/_old  2015-10-28 17:30:38.0 +0100
+++ /var/tmp/diff_new_pack.8Vee8y/_new  2015-10-28 17:30:38.0 +0100
@@ -27,7 +27,7 @@
 %endif
 
 Name:   go
-Version:1.5
+Version:1.5.1
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause


++ go1.5.src.tar.gz -> go1.5.1.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.5.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.5.1.src.tar.gz differ: char 20, line 1




commit go for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-10-19 22:52:11

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-09-17 09:21:20.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-10-20 
00:06:00.0 +0200
@@ -1,0 +2,6 @@
+Wed Oct  7 12:16:45 UTC 2015 - m...@suse.com
+
+- Adapt to Leap
+  * use gcc5-go than go1.4 is the proper requirement for Leap
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.s9JPHS/_old  2015-10-20 00:06:02.0 +0200
+++ /var/tmp/diff_new_pack.s9JPHS/_new  2015-10-20 00:06:02.0 +0200
@@ -16,11 +16,15 @@
 #
 
 
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
+%define with_gccgo 1
+%else
+%if 0%{?suse_version} == 1315 && 0%{?is_opensuse}
 %define with_gccgo 1
 %else
 %define with_gccgo 0
 %endif
+%endif
 
 Name:   go
 Version:1.5





commit go for openSUSE:Factory

2015-09-17 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-09-17 09:21:18

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-09-13 09:45:14.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-09-17 
09:21:20.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 15 12:56:49 UTC 2015 - dmuel...@suse.com
+
+- go.sh, macros.go, go.spec: add missing bits for aarch64
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.X3E9fo/_old  2015-09-17 09:21:21.0 +0200
+++ /var/tmp/diff_new_pack.X3E9fo/_new  2015-09-17 09:21:21.0 +0200
@@ -120,25 +120,24 @@
 # setup go_arch (BSD-like scheme)
 cp %{SOURCE3} go.macros
 %ifarch %ix86
-sed -i 's|GOARCH|386|' go.macros
 %define go_arch 386
 %endif
 %ifarch x86_64
-sed -i 's|GOARCH|amd64|' go.macros
 %define go_arch amd64
 %endif
+%ifarch aarch64
+%define go_arch arm64
+%endif
 %ifarch %arm
-sed -i 's|GOARCH|arm|' go.macros
 %define go_arch arm
 %endif
 %ifarch ppc64
-sed -i 's|GOARCH|ppc64|' go.macros
 %define go_arch ppc64
 %endif
 %ifarch ppc64le
-sed -i 's|GOARCH|ppc64le|' go.macros
 %define go_arch ppc64le
 %endif
+sed -i 's|GOARCH|%{go_arch}|' go.macros
 
 %build
 %if %{with_gccgo}


++ go.sh ++
--- /var/tmp/diff_new_pack.X3E9fo/_old  2015-09-17 09:21:21.0 +0200
+++ /var/tmp/diff_new_pack.X3E9fo/_new  2015-09-17 09:21:21.0 +0200
@@ -5,6 +5,10 @@
export GOARCH=386
libdir=lib
;;
+aarch64)
+   export GOARCH=arm64
+   libdir=lib64
+   ;;
 x86_64)
export GOARCH=amd64
libdir=lib64

++ macros.go ++
--- /var/tmp/diff_new_pack.X3E9fo/_old  2015-09-17 09:21:21.0 +0200
+++ /var/tmp/diff_new_pack.X3E9fo/_new  2015-09-17 09:21:21.0 +0200
@@ -18,7 +18,7 @@
 %go_tooldir%{_datadir}/go/pkg/tool/linux_%{go_arch}
 
 %go_exclusivearch \
-ExclusiveArch:  %ix86 x86_64 %arm ppc64 ppc64le
+ExclusiveArch:  aarch64 %ix86 x86_64 %arm ppc64 ppc64le
 
 %go_provides \
 %go_exclusivearch \




commit go for openSUSE:Factory

2015-09-13 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-09-13 09:45:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-09-02 00:35:57.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-09-13 
09:45:14.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 11 08:43:53 UTC 2015 - dmuel...@suse.com
+
+- enable build for aarch64
+- rediff armv6l.patch
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.aHrdPx/_old  2015-09-13 09:45:15.0 +0200
+++ /var/tmp/diff_new_pack.aHrdPx/_new  2015-09-13 09:45:15.0 +0200
@@ -84,7 +84,7 @@
 # go-vim/emacs were separate projects starting from 1.4
 Obsoletes:  go-emacs <= 1.3.3
 Obsoletes:  go-vim <= 1.3.3
-ExclusiveArch:  %ix86 x86_64 %arm ppc64 ppc64le
+ExclusiveArch:  %ix86 x86_64 aarch64 ppc64 ppc64le
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language

++ armv6l.patch ++
--- /var/tmp/diff_new_pack.aHrdPx/_old  2015-09-13 09:45:15.0 +0200
+++ /var/tmp/diff_new_pack.aHrdPx/_new  2015-09-13 09:45:15.0 +0200
@@ -1,11 +1,11 @@
 a/src/pkg/runtime/os_linux.h   2014-08-13 05:49:43.0 +0200
-+++ b/src/pkg/runtime/os_linux.h   2014-10-17 04:02:55.791948419 +0200
-@@ -16,7 +16,7 @@
- void runtime·setitimer(int32, Itimerval*, Itimerval*);
+--- a/src/runtime/os2_linux.go
 b/src/runtime/os2_linux.go
+@@ -6,7 +6,7 @@
  
- 
--#define   NSIG65
-+#define   NSIG64
- #define   SI_USER 0
- 
- // It's hard to tease out exactly how big a Sigset is, but
+ const (
+   _SS_DISABLE  = 2
+-  _NSIG= 65
++  _NSIG= 64
+   _SI_USER = 0
+   _SIG_BLOCK   = 0
+   _SIG_UNBLOCK = 1





commit go for openSUSE:Factory

2015-09-01 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-09-02 00:35:55

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-08-13 18:10:49.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-09-02 
00:35:57.0 +0200
@@ -1,0 +2,23 @@
+Sat Aug 22 17:44:55 UTC 2015 - i...@marguerite.su
+
+- enable ppc64 and ppc64le
+
+---
+Thu Aug 20 15:26:42 UTC 2015 - i...@marguerite.su
+
+- update to version 1.5
+  * see https://golang.org/doc/go1.5 
+- add: go-1.5-build-dont-reinstall-stdlibs.patch
+  drop: go-build-dont-reinstall-stdlibs.patch
+  * refresh patch
+- add: go-1.5-install-dont-reinstall-stdlibs.patch
+  drop: go-install-dont-reinstall-stdlibs.patch
+  * refresh patch
+- drop: go-1.4.2-rel.plt-alignment.patch
+  * fix by upstream
+- add gcc5-go.patch
+  * find /usr/bin/go-5 when bootstrapping with gcc5-go
+- use update-alternatives for /usr/bin/go and profiles.d
+  so it can be co-installed with go1.4
+
+---

Old:

  README-openSUSE
  go-1.4.2-rel.plt-alignment.patch
  go-build-dont-reinstall-stdlibs.patch
  go-install-dont-reinstall-stdlibs.patch
  go1.4.2.src.tar.gz

New:

  README.SUSE
  gcc5-go.patch
  go-1.5-build-dont-reinstall-stdlibs.patch
  go-1.5-install-dont-reinstall-stdlibs.patch
  go1.5.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.jwjoTZ/_old  2015-09-02 00:36:00.0 +0200
+++ /var/tmp/diff_new_pack.jwjoTZ/_new  2015-09-02 00:36:00.0 +0200
@@ -2,7 +2,6 @@
 # spec file for package go
 #
 # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2011, Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +16,14 @@
 #
 
 
+%if 0%{?suse_version} > 1320
+%define with_gccgo 1
+%else
+%define with_gccgo 0
+%endif
+
 Name:   go
-Version:1.4.2
+Version:1.5
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -29,16 +34,16 @@
 Source2:go.sh
 Source3:macros.go
 Source4:go-wiki-gadget.xml
-Source5:README-openSUSE
+Source5:README.SUSE
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
-Patch1: go-build-dont-reinstall-stdlibs.patch
+Patch1: go-1.5-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
 Patch2: allow-binary-only-packages.patch
 #PATCH-FIX-OPENSUSE use -x verbose build output for qemu-arm builders
 Patch3: verbose-build.patch
 # PATCH-FIX-OPENSUSE BNC#776058
-Patch4: go-install-dont-reinstall-stdlibs.patch
+Patch4: go-1.5-install-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE enable writing tools outside $GOROOT/pkg/tool for 
packaging
 Patch5: tools-packaging.patch
 # armv6l needs this patch for our build system
@@ -47,8 +52,15 @@
 # PATCH-FIX-OPENSUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
 # PATCH-FIX-SUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
 Patch7: fix_certificates_lookup.patch
-Patch8: go-1.4.2-rel.plt-alignment.patch
+# PATCH-FIX-UPSTREAM marguer...@opensuse.org - find /usr/bin/go-5 when 
bootstrapping with gcc5-go
+Patch8: gcc5-go.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# boostrap
+%if %{with_gccgo}
+BuildRequires:  gcc5-go
+%else
+BuildRequires:  go1.4
+%endif
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
 BuildRequires:  mercurial
@@ -62,15 +74,17 @@
 BuildRequires:  rpm >= 4.11.1
 %endif
 %endif
+Requires(post):update-alternatives
+Requires(postun):  update-alternatives
 Requires:   gcc
 Provides:   go-devel = %{name}%{version}
 Provides:   go-devel-static = %{name}%{version}
-Provides:   golang(API) = 1.4
+Provides:   golang(API) = 1.5
 Obsoletes:  go-devel < %{name}%{version}
 # go-vim/emacs we

commit go for openSUSE:Factory

2015-08-13 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-08-13 18:10:33

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-07-23 15:23:02.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-08-13 
18:10:49.0 +0200
@@ -1,0 +2,14 @@
+Tue Aug 11 16:06:28 UTC 2015 - jmassaguer...@suse.com
+
+- fix update from 1.3.3
+
+  Update from 1.3.3 was broken in this commit
+
+  
https://build.opensuse.org/package/rdiff/devel:languages:go/go?linkrev=base&rev=205
+
+  That commit fixed a dangling symlink in src (src/pkg) by instead
+  symlinking src, which broke compatibility.
+
+  This commit fixes it by, instead, symlinking all the files in src.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.gJOgLa/_old  2015-08-13 18:10:50.0 +0200
+++ /var/tmp/diff_new_pack.gJOgLa/_new  2015-08-13 18:10:50.0 +0200
@@ -150,8 +150,10 @@
 for ext in *.{go,c,h,s,S,py}; do
   find src -name ${ext} -exec install -Dm644 \{\} 
%{buildroot}%{_datadir}/go/\{\} \;
 done
-mkdir -p $GOROOT
-ln -s /usr/share/go/src $GOROOT/src
+mkdir -p $GOROOT/src
+for i in $(ls %{buildroot}/usr/share/go/src);do
+  ln -s /usr/share/go/src/$i $GOROOT/src/$i
+done
 
 # copy document templates, packages, obj libs and command utilities
 mkdir -p %{buildroot}%{_bindir}





commit go for openSUSE:Factory

2015-07-23 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-07-23 15:22:51

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-07-14 17:45:38.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-07-23 
15:23:02.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul 22 10:21:39 UTC 2015 - sch...@suse.de
+
+- macros.go: fix missing quotes in %goinstall (bsc#939067)
+
+---



Other differences:
--

++ macros.go ++
--- /var/tmp/diff_new_pack.oALodk/_old  2015-07-23 15:23:03.0 +0200
+++ /var/tmp/diff_new_pack.oALodk/_new  2015-07-23 15:23:03.0 +0200
@@ -169,7 +169,7 @@
 %gosrc() \
 install -d %{buildroot}%{go_contribsrcdir} \
 cd %{_builddir}/go/src \
-find . -name *.go -exec install -Dm644 \{\} 
%{buildroot}%{go_contribsrcdir}/\{\} \\; \
+find . -name "*.go" -exec install -Dm644 \{\} 
%{buildroot}%{go_contribsrcdir}/\{\} \\; \
 %{nil}
 
 # Template for source sub-package




commit go for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-07-14 17:44:21

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-06-23 11:57:06.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-07-14 
17:45:38.0 +0200
@@ -1,0 +2,42 @@
+Sun Jul 12 10:29:45 UTC 2015 - i...@marguerite.su
+
+- macros.go: fix "summary-not-capitalized"
+
+---
+Thu Jul  9 15:20:25 UTC 2015 - i...@marguerite.su
+
+- macros.go:
+  * *-doc can't properly describe what the sub-package really is,
+and they're mostly source codes instead of the claimed "API,
+documentation, and examples". so rename to *-source. and not
+recommend to install them to save users' disk space.
+  * %%go_requires should be handled automatically by golang-packaging
+  * not recommend to install source package any more,
+so %%go_recommmends set to nil.
+
+---
+Sun Jul  5 15:12:10 UTC 2015 - i...@marguerite.su
+
+- macros.go:
+  * add a "WITH_FAKE_BUILDID" option to enable the fake build ID
+compution.
+  * to fake build ID, you have to make sure your package has only
+one binary. it is nonsense that two or more nonidentical 
+binaries have the same build ID.
+
+---
+Sat Jul  4 17:41:21 UTC 2015 - i...@marguerite.su
+
+- enable debuginfo
+  * the strip workaround (boo#818502) does not need any more
+  * re-enable debug_packge/debug_install_post macros
+- add patch: go-1.4.2-rel.plt-alignment.patch
+  * cmd/ld: set alignment for the .rel.plt section on 32-bit architectures
+  * https://github.com/golang/go/issues/9802
+  * or i586 build will fail at extracting debuginfo
+- macros.go:
+  * re-enable debug_packge/debug_install_post macros from goprep()
+  * add ldflags to gobuild() to compute BUILD ID for debuginfo package
+- go itself doesn't support BUILD ID yet
+
+---

New:

  go-1.4.2-rel.plt-alignment.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.NYdE2b/_old  2015-07-14 17:45:39.0 +0200
+++ /var/tmp/diff_new_pack.NYdE2b/_new  2015-07-14 17:45:39.0 +0200
@@ -15,14 +15,8 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-# nodebuginfo
 
 
-# debuginfo extraction currently fails with
-# "Failed to write file: invalid section alignment"
-%global __debug_package %{nil}
-%global __debug_install_post %{nil}
-
 Name:   go
 Version:1.4.2
 Release:0
@@ -53,6 +47,7 @@
 # PATCH-FIX-OPENSUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
 # PATCH-FIX-SUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
 Patch7: fix_certificates_lookup.patch
+Patch8: go-1.4.2-rel.plt-alignment.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -70,6 +65,7 @@
 Requires:   gcc
 Provides:   go-devel = %{name}%{version}
 Provides:   go-devel-static = %{name}%{version}
+Provides:   golang(API) = 1.4
 Obsoletes:  go-devel < %{name}%{version}
 # go-vim/emacs were separate projects starting from 1.4
 Obsoletes:  go-emacs <= 1.3.3
@@ -102,6 +98,7 @@
 %patch6 -p1
 %endif
 %patch7 -p1
+%patch8 -p1
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)
@@ -132,9 +129,6 @@
 cd ../
 bin/go install -race std
 %endif
-%ifarch %ix86
-strip $GOBIN/go # bnc#818502
-%endif
 
 %install
 export GOROOT="%{buildroot}%{_libdir}/%{name}"
@@ -206,7 +200,7 @@
 %{_bindir}/go*
 %{_libdir}/go/
 # bash completion seems broken
-#%%config %{_sysconfdir}/bash_completion.d/go.sh
+#%%config %%{_sysconfdir}/bash_completion.d/go.sh
 %config %{_sysconfdir}/profile.d/go.sh
 %config %{_sysconfdir}/rpm/macros.go
 

++ go-1.4.2-rel.plt-alignment.patch ++
Index: go/src/cmd/ld/elf.c
===
--- go.orig/src/cmd/ld/elf.c
+++ go/src/cmd/ld/elf.c
@@ -1323,6 +1323,7 @@ asmbelf(vlong symo)
sh->type = SHT_REL;
sh->flags = SHF_ALLOC;
s

commit go for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-06-23 11:57:04

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-06-12 20:31:02.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-06-23 
11:57:06.0 +0200
@@ -1,0 +2,9 @@
+Thu Jun 11 12:38:51 UTC 2015 - fcaste...@suse.com
+
+- Remove fix_certificates_lookup_on_sles11.patch: this is superseded
+  by fix_certificates.patch
+- Add fix_certificates_lookup.patch: force Go to look for certificates only
+  in the locations available on openSUSE and SLE. Also ensure certificates
+  are found on SLE11 (previous fix_certificates_lookup_on_sles11.patch)
+
+---

Old:

  fix_certificates_lookup_on_sles11.patch

New:

  fix_certificates_lookup.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.GZbg4w/_old  2015-06-23 11:57:07.0 +0200
+++ /var/tmp/diff_new_pack.GZbg4w/_new  2015-06-23 11:57:07.0 +0200
@@ -50,9 +50,9 @@
 # armv6l needs this patch for our build system
 # see https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
 Patch6: armv6l.patch
-# PATCH-FIX_SLE11 handle certificates on SLE11
-# see https://github.com/golang/go/issues/6391
-Patch7: fix_certificates_lookup_on_sles11.patch
+# PATCH-FIX-OPENSUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
+# PATCH-FIX-SUSE fix_certificates_lookup.patch fcaste...@suse.com -- this 
patch forces Go to look for certificates only in the openSUSE/SLE locations. It 
also fixes certificate loading on SLE11, see 
https://github.com/golang/go/issues/6391
+Patch7: fix_certificates_lookup.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -101,9 +101,7 @@
 %ifarch armv6hl
 %patch6 -p1
 %endif
-%if 0%{?suse_version} < 1200
 %patch7 -p1
-%endif
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)

++ fix_certificates_lookup_on_sles11.patch -> fix_certificates_lookup.patch 
++
--- /work/SRC/openSUSE:Factory/go/fix_certificates_lookup_on_sles11.patch   
2015-06-12 20:31:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.go.new/fix_certificates_lookup.patch
2015-06-23 11:57:06.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- go.orig/src/crypto/x509/root_unix.go
 +++ go/src/crypto/x509/root_unix.go
-@@ -6,7 +6,10 @@
+@@ -6,24 +6,20 @@
  
  package x509
  
@@ -14,16 +14,26 @@
  
  // Possible certificate files; stop after finding one.
  var certFiles = []string{
-@@ -23,7 +26,7 @@ var certFiles = []string{
+-  "/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu/Gentoo etc.
+-  "/etc/pki/tls/certs/ca-bundle.crt",   // Fedora/RHEL
+-  "/etc/ssl/ca-bundle.pem", // OpenSUSE
+-  "/etc/ssl/cert.pem",  // OpenBSD
+-  "/usr/local/share/certs/ca-root-nss.crt", // FreeBSD/DragonFly
+-  "/etc/pki/tls/cacert.pem",// OpenELEC
+-  "/etc/certs/ca-certificates.crt", // Solaris 11.2+
++  "/etc/ssl/ca-bundle.pem", // openSUSE and SLE12+
+ }
+ 
+ // Possible directories with certificate files; stop after successfully
  // reading at least one file from a directory.
  var certDirectories = []string{
-   "/system/etc/security/cacerts", // Android
+-  "/system/etc/security/cacerts", // Android
 -
-+  "/etc/ssl/certs",   // SLE11
++  "/etc/ssl/certs", // SLE11
  }
  
  func (c *Certificate) systemVerify(opts *VerifyOptions) (chains 
[][]*Certificate, err error) {
-@@ -41,22 +44,25 @@ func initSystemRoots() {
+@@ -41,22 +37,24 @@ func initSystemRoots() {
}
}
  
@@ -48,7 +58,6 @@
 -  return
 -  }
 +  }
-+
 +  if rootsAdded {
 +  systemRoots = roots
}





commit go for openSUSE:Factory

2015-06-12 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-06-12 20:31:00

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-04-15 16:27:44.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-06-12 
20:31:02.0 +0200
@@ -1,0 +2,7 @@
+Thu Jun 11 09:15:38 UTC 2015 - fcaste...@suse.com
+
+- Add fix_certificates_lookup_on_sles11.patch: this patch is required
+  to have Go programs read the system certificates on SLE11.
+  See issue https://github.com/golang/go/issues/6391
+
+---

New:

  fix_certificates_lookup_on_sles11.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.fHQY3j/_old  2015-06-12 20:31:03.0 +0200
+++ /var/tmp/diff_new_pack.fHQY3j/_new  2015-06-12 20:31:03.0 +0200
@@ -50,6 +50,9 @@
 # armv6l needs this patch for our build system
 # see https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
 Patch6: armv6l.patch
+# PATCH-FIX_SLE11 handle certificates on SLE11
+# see https://github.com/golang/go/issues/6391
+Patch7: fix_certificates_lookup_on_sles11.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -98,6 +101,9 @@
 %ifarch armv6hl
 %patch6 -p1
 %endif
+%if 0%{?suse_version} < 1200
+%patch7 -p1
+%endif
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)

++ fix_certificates_lookup_on_sles11.patch ++
Index: go/src/crypto/x509/root_unix.go
===
--- go.orig/src/crypto/x509/root_unix.go
+++ go/src/crypto/x509/root_unix.go
@@ -6,7 +6,10 @@
 
 package x509
 
-import "io/ioutil"
+import (
+   "io/ioutil"
+   "os"
+)
 
 // Possible certificate files; stop after finding one.
 var certFiles = []string{
@@ -23,7 +26,7 @@ var certFiles = []string{
 // reading at least one file from a directory.
 var certDirectories = []string{
"/system/etc/security/cacerts", // Android
-
+   "/etc/ssl/certs",   // SLE11
 }
 
 func (c *Certificate) systemVerify(opts *VerifyOptions) (chains 
[][]*Certificate, err error) {
@@ -41,22 +44,25 @@ func initSystemRoots() {
}
}
 
+   rootsAdded := false
for _, directory := range certDirectories {
fis, err := ioutil.ReadDir(directory)
if err != nil {
continue
}
-   rootsAdded := false
for _, fi := range fis {
+   if fi.Mode()&os.ModeSymlink != 0 {
+   continue
+   }
data, err := ioutil.ReadFile(directory + "/" + 
fi.Name())
if err == nil && roots.AppendCertsFromPEM(data) {
rootsAdded = true
}
}
-   if rootsAdded {
-   systemRoots = roots
-   return
-   }
+   }
+
+   if rootsAdded {
+   systemRoots = roots
}
 
// All of the files failed to load. systemRoots will be nil which will




commit go for openSUSE:Factory

2015-04-15 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-04-15 16:27:43

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-03-23 12:17:48.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-04-15 
16:27:44.0 +0200
@@ -1,0 +2,19 @@
+Wed Apr  8 09:00:41 UTC 2015 - fcaste...@suse.com
+
+- Fix building of all the Go packages under devel:languages:go. The
+  %goprep macro contained some unescaped lines, causing go install to
+  attempt the installation of the build artifacts outside of the
+  buildroot.
+
+---
+Mon Mar 30 15:18:44 UTC 2015 - i...@marguerite.su
+
+- disable debuginfo/debug package creation on all golang packages
+  * .a files in golang doesn't contain debuginfo right now,
+so extract a debug package will cause
+"Failed to write file: invalid section alignment"
+and we don't need to bother stripping them.
+  * we can't depend on good luck for all golang packages, hoping
+they'll pass the build and not randomly fail.
+
+---



Other differences:
--

++ macros.go ++
--- /var/tmp/diff_new_pack.GiRMxN/_old  2015-04-15 16:27:45.0 +0200
+++ /var/tmp/diff_new_pack.GiRMxN/_new  2015-04-15 16:27:45.0 +0200
@@ -2,7 +2,7 @@
 #
 # Copyright: (c) 2011 Sascha Peilicke 
 # Copyright: (c) 2012 Graham Anderson 
-# Copyright: (c) 2013 SUSE Linux Products GmbH
+# Copyright: (c) 2015 SUSE Linux GmbH
 #
 
 %go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 
's/(none)://' -e 's/ 0:/ /' | grep -v "is not")
@@ -36,6 +36,12 @@
 # We need a $GOPATH: go help gopath
 # We need a valid importpath: go help packages
 %goprep() \
+# *.a files in golang doesn't contain debuginfo right now, \
+# so extract a debug package will cause \
+# "Failed to write file: invalid section alignment" \
+# and we don't need to bother stripping them. \
+%global debug_package %{nil} \
+%global __strip /bin/true \
 export GOPATH=%{_builddir}/go \
 if [ %# -eq 0 ]; then \
   echo "goprep: please specify a valid importpath, see: go help packages" \




commit go for openSUSE:Factory

2015-03-23 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-03-23 12:17:47

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-03-19 21:25:50.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-03-23 
12:17:48.0 +0100
@@ -1,0 +2,9 @@
+Fri Mar 20 12:43:46 UTC 2015 - i...@marguerite.su
+
+- remove "go_disable_brp_strip_static_archive" macro from macros.go,
+  which contains redefinition of os_install_post too.
+- disable debug package generation for all architectures, because:
+  * build IDs are not generated at all, even for successful builds
+  * "Failed to write file: invalid section alignment" on arm/i586.
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.27lkIx/_old  2015-03-23 12:17:49.0 +0100
+++ /var/tmp/diff_new_pack.27lkIx/_new  2015-03-23 12:17:49.0 +0100
@@ -18,12 +18,10 @@
 # nodebuginfo
 
 
-%ifarch %arm
 # debuginfo extraction currently fails with
 # "Failed to write file: invalid section alignment"
 %global __debug_package %{nil}
 %global __debug_install_post %{nil}
-%endif
 
 Name:   go
 Version:1.4.2


++ macros.go ++
--- /var/tmp/diff_new_pack.27lkIx/_old  2015-03-23 12:17:49.0 +0100
+++ /var/tmp/diff_new_pack.27lkIx/_new  2015-03-23 12:17:49.0 +0100
@@ -32,10 +32,6 @@
 Recommends: %{name}-doc \
 %endif
 
-%go_disable_brp_strip_static_archive \
-%undefine __os_install_post \
-%define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
-
 # Prepare the expected Go package build environement.
 # We need a $GOPATH: go help gopath
 # We need a valid importpath: go help packages
@@ -143,7 +139,6 @@
 if [ "$(ls -A $TMPBIN)" ]; then \
  install -m755 $TMPBIN/* %{buildroot}%{_bindir} \
 fi \
-%go_disable_brp_strip_static_archive \
 %{nil}
 
 %gofix() \
@@ -181,4 +176,6 @@
 %{-r:Requires: %{-r*}} \
 %description %{-n:-n %{-n*}-}doc \
 This package provides API, examples and documentation \
-for package %{name}.
+for package %{name}.\
+%{nil}
+

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2015-03-19 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-03-19 21:25:49

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2015-03-11 09:57:21.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-03-19 
21:25:50.0 +0100
@@ -1,0 +2,10 @@
+Thu Mar 19 09:58:09 UTC 2015 - i...@marguerite.su
+
+- remove redefinition of os_install_post macro, which was used to
+  override brp-strip-static-archive that has been manually removed
+  from openSUSE distribution since 2011.05. 
+- This might fix i586 builds for openSUSE:Factory:
+  * Too many levels of recursion in macro expansion
+  * Failed to write file: invalid section alignment
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.yiDhAa/_old  2015-03-19 21:25:52.0 +0100
+++ /var/tmp/diff_new_pack.yiDhAa/_new  2015-03-19 21:25:52.0 +0100
@@ -71,8 +71,8 @@
 Provides:   go-devel-static = %{name}%{version}
 Obsoletes:  go-devel < %{name}%{version}
 # go-vim/emacs were separate projects starting from 1.4
-Obsoletes: go-vim <= 1.3.3
 Obsoletes: go-emacs <= 1.3.3
+Obsoletes:  go-vim <= 1.3.3
 ExclusiveArch:  %ix86 x86_64 %arm
 
 %description
@@ -184,9 +184,6 @@
 ln -s %{_datadir}/go/src/cmd/ld/textflag.h 
%{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}
 ln -s %{_datadir}/go/src/runtime/{runtime,cgocall,funcdata}.h 
%{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}
 
-# Disable brp-strip-static-archive breaks build
-%define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
-
 %if 0%{?suse_version} >= 1100
 %fdupes %{buildroot}%{_prefix}
 %endif


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2015-03-11 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2015-03-11 09:57:18

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2014-12-16 14:48:30.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2015-03-11 
09:57:21.0 +0100
@@ -1,0 +2,21 @@
+Sat Mar  7 15:24:29 UTC 2015 - i...@marguerite.su
+
+- Added Obsoletes for go-vim/emacs, they went to separate projects
+
+---
+Sun Mar  1 16:32:12 UTC 2015 - matwey.korni...@gmail.com
+
+- Fix dangling-symlink /usr/lib64/go/src/pkg /usr/share/go/src/pkg
+
+---
+Sun Mar  1 14:20:41 UTC 2015 - matwey.korni...@gmail.com
+
+- allow-binary-only-packages.patch: Revert missed patch and update for 1.4
+
+---
+Fri Feb 27 19:34:49 UTC 2015 - matwey.korni...@gmail.com
+
+- Updated to 1.4.2:
+  Support of editors has been dropped
+
+---

Old:

  go1.3.3.src.tar.gz

New:

  go1.4.2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.PAb2b5/_old  2015-03-11 09:57:23.0 +0100
+++ /var/tmp/diff_new_pack.PAb2b5/_new  2015-03-11 09:57:23.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,7 +26,7 @@
 %endif
 
 Name:   go
-Version:1.3.3
+Version:1.4.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -70,6 +70,9 @@
 Provides:   go-devel = %{name}%{version}
 Provides:   go-devel-static = %{name}%{version}
 Obsoletes:  go-devel < %{name}%{version}
+# go-vim/emacs were separate projects starting from 1.4
+Obsoletes: go-vim <= 1.3.3
+Obsoletes: go-emacs <= 1.3.3
 ExclusiveArch:  %ix86 x86_64 %arm
 
 %description
@@ -87,22 +90,6 @@
 %description doc
 Go examples and documentation.
 
-%package vim
-Summary:Go syntax files for Vim
-Group:  Productivity/Text/Editors
-Requires:   %{name} = %{version}
-
-%description vim
-Vim syntax highlighting scheme for the Go programming language.
-
-%package emacs
-Summary:Go language syntax files for Emacs
-Group:  Productivity/Text/Editors
-Requires:   %{name} = %{version}
-
-%description emacs
-Emacs syntax highlighting scheme for the Go programming language.
-
 %prep
 %setup -q -n %{name}
 %patch1 -p1
@@ -152,16 +139,6 @@
 # bash completion seems broken
 #install -Dm644 misc/bash/go 
%%{buildroot}%%{_sysconfdir}/bash_completion.d/go.sh
 install -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/go.sh
-install -Dm644 misc/emacs/go-mode-load.el 
%{buildroot}%{_datadir}/emacs/site-lisp/go-mode-load.el
-install -Dm644 misc/emacs/go-mode.el 
%{buildroot}%{_datadir}/emacs/site-lisp/go-mode.el
-install -Dm644 misc/vim/autoload/go/complete.vim 
%{buildroot}%{_datadir}/vim/site/autoload/go/complete.vim
-install -d %{buildroot}%{_datadir}/vim/site/ftplugin/go
-install -Dm644 misc/vim/ftplugin/go/{fmt,import}.vim 
%{buildroot}%{_datadir}/vim/site/ftplugin/go/
-install -Dm644 misc/vim/indent/go.vim 
%{buildroot}%{_datadir}/vim/site/indent/go.vim
-install -Dm644 misc/vim/plugin/godoc.vim 
%{buildroot}%{_datadir}/vim/site/plugin/godoc.vim
-install -Dm644 misc/vim/syntax/godoc.vim 
%{buildroot}%{_datadir}/vim/site/syntax/godoc.vim
-install -Dm644 misc/vim/syntax/go.vim 
%{buildroot}%{_datadir}/vim/site/syntax/go.vim
-install -Dm644 misc/vim/ftdetect/gofiletype.vim 
%{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim
 
 # locations for third party libraries, see README-openSUSE for info about 
locations.
 install -d  %{buildroot}%{_datadir}/go/contrib
@@ -177,9 +154,8 @@
 for ext in *.{go,c,h,s,S,py}; do
   find src -name ${ext} -exec install -Dm644 \{\} 
%{buildroot}%{_datadir}/go/\{\} \;
 done
-mkdir -p $GOROOT/src
-ln -s /usr/share/go/src/pkg $GOROOT/src/pkg
-ln -s /usr/share/go/src/cmd $GOROOT/src/cmd
+mkdir -p $GOROOT
+ln -s /usr/share/go/src $GOROOT/src
 
 # copy document templates, packages, obj libs and command utilities
 mkdir -p %{buildroot}%{_bindir}
@@ -204,8 +180,9 @@
 install -Dm644 go.macros %{buildroot}%{_sysconfdir}/rpm/macros.go
 
 # break hard links
-rm %{buildroot}%{_lib

commit go for openSUSE:Factory

2014-12-16 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2014-12-16 14:48:39

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2014-10-05 20:33:26.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2014-12-16 
14:48:30.0 +0100
@@ -1,0 +2,26 @@
+Thu Oct 30 14:53:05 UTC 2014 - fcaste...@suse.com
+
+- Updated to 1.3.3: includes further bug fixes to cgo, the runtime package,s
+  and the nacl port.
+- Changes associated with release 1.3.2: includes bug fixes to cgo and the
+  crypto/tls packages. See the change history for details (bnc#898901 -
+  CVE-2014-7189).
+
+---
+Tue Oct 21 15:07:15 UTC 2014 - dmuel...@suse.com
+
+- avoid stripping debuginfo on arm, it fails (and is not necessary)
+
+---
+Fri Oct 17 02:02:55 UTC 2014 - sebastian.kr...@piraten-ahoi.de
+
+- add armv6l.patch
+  * workaround for qemu-arm bug
+  * under qemu on armv6 the number of unix signals isn't 64 but 63. 
+thus there is an off-by-one error while building and testing.
+this fix now reduces the constant defining the number of signals
+by 1, but that of course means signal handling won't be 100% 
+correct.
+  * https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
+
+---

Old:

  go1.3.1.src.tar.gz

New:

  armv6l.patch
  go1.3.3.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.Tx8RSm/_old  2014-12-16 14:48:34.0 +0100
+++ /var/tmp/diff_new_pack.Tx8RSm/_new  2014-12-16 14:48:34.0 +0100
@@ -15,10 +15,18 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+# nodebuginfo
 
 
+%ifarch %arm
+# debuginfo extraction currently fails with
+# "Failed to write file: invalid section alignment"
+%global __debug_package %{nil}
+%global __debug_install_post %{nil}
+%endif
+
 Name:   go
-Version:1.3.1
+Version:1.3.3
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -41,6 +49,9 @@
 Patch4: go-install-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE enable writing tools outside $GOROOT/pkg/tool for 
packaging
 Patch5: tools-packaging.patch
+# armv6l needs this patch for our build system
+# see https://groups.google.com/forum/#!topic/golang-nuts/MqKTX_XIOKE
+Patch6: armv6l.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -99,6 +110,9 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%ifarch armv6hl
+%patch6 -p1
+%endif
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)

++ armv6l.patch ++
--- a/src/pkg/runtime/os_linux.h2014-08-13 05:49:43.0 +0200
+++ b/src/pkg/runtime/os_linux.h2014-10-17 04:02:55.791948419 +0200
@@ -16,7 +16,7 @@
 void runtime·setitimer(int32, Itimerval*, Itimerval*);
 
 
-#defineNSIG65
+#defineNSIG64
 #defineSI_USER 0
 
 // It's hard to tease out exactly how big a Sigset is, but

++ go1.3.1.src.tar.gz -> go1.3.3.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.3.1.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.3.3.src.tar.gz differ: char 13, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2014-10-05 20:31:50

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2014-09-17 17:25:40.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2014-10-05 
20:33:26.0 +0200
@@ -1,0 +2,31 @@
+Fri Sep 26 13:14:55 UTC 2014 - cbosdon...@suse.com
+
+- Revert the /usr/share/go/contrib symlink as it caused problems
+  during update. Moved all go sources to /usr/share/go/contrib/src
+  instead of /usr/share/go/contrib/src/pkg and created pkg and src
+  symlinks in contrib to add it to GOPATH
+
+---
+Thu Sep 25 12:31:43 UTC 2014 - cbosdon...@suse.com
+
+- Fixed %go_contribsrcdir value
+- Copy temporary macros.go as go.macros to avoid it to be built
+
+---
+Mon Sep 22 19:45:17 UTC 2014 - jeng...@inai.de
+
+- Do not modify Source: files, because that makes the .src.rpm
+  being tied to one specific arch.
+
+---
+Tue Sep 16 15:15:20 UTC 2014 - cbosdon...@suse.com
+
+- Removed extra src folder in /usr/share/go/contrib: the goal is to
+  transform this folder into a proper entry for GOPATH. This folder
+  is now linked to %{_libdir}/go/contrib
+- go requires gcc to build sources using cgo
+- tools-packaging.patch: Allow building cover and vet tools in
+  $GOROOT_TARGET/pkg/tool instead of $GOROOT/pkg/tool. This will
+  allow building go tools as a separate package
+
+---

New:

  tools-packaging.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.1hTE88/_old  2014-10-05 20:33:27.0 +0200
+++ /var/tmp/diff_new_pack.1hTE88/_new  2014-10-05 20:33:27.0 +0200
@@ -28,7 +28,7 @@
 Source1:go-rpmlintrc
 Source2:go.sh
 Source3:macros.go
-Source6:go-wiki-gadget.xml
+Source4:go-wiki-gadget.xml
 Source5:README-openSUSE
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch1: go-build-dont-reinstall-stdlibs.patch
@@ -39,6 +39,8 @@
 Patch3: verbose-build.patch
 # PATCH-FIX-OPENSUSE BNC#776058
 Patch4: go-install-dont-reinstall-stdlibs.patch
+# PATCH-FIX-OPENSUSE enable writing tools outside $GOROOT/pkg/tool for 
packaging
+Patch5: tools-packaging.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -53,6 +55,7 @@
 BuildRequires:  rpm >= 4.11.1
 %endif
 %endif
+Requires:   gcc
 Provides:   go-devel = %{name}%{version}
 Provides:   go-devel-static = %{name}%{version}
 Obsoletes:  go-devel < %{name}%{version}
@@ -95,19 +98,21 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)
+cp %{SOURCE3} go.macros
 %ifarch %ix86
-sed -i 's|GOARCH|386|' %{SOURCE3}
+sed -i 's|GOARCH|386|' go.macros
 %define go_arch 386
 %endif
 %ifarch x86_64
-sed -i 's|GOARCH|amd64|' %{SOURCE3}
+sed -i 's|GOARCH|amd64|' go.macros
 %define go_arch amd64
 %endif
 %ifarch %arm
-sed -i 's|GOARCH|arm|' %{SOURCE3}
+sed -i 's|GOARCH|arm|' go.macros
 %define go_arch arm
 %endif
 
@@ -145,10 +150,12 @@
 install -Dm644 misc/vim/ftdetect/gofiletype.vim 
%{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim
 
 # locations for third party libraries, see README-openSUSE for info about 
locations.
-install -d  %{buildroot}%{_libdir}/go/contrib/pkg/linux_%{go_arch}
-install -d  %{buildroot}%{_datadir}/go/contrib/src/pkg
-install -d  %{buildroot}%{_datadir}/go/contrib/src/cmd
-install -Dm644 README-openSUSE %{buildroot}%{_libdir}/go/contrib/
+install -d  %{buildroot}%{_datadir}/go/contrib
+install -d  $GOROOT/contrib/pkg/linux_%{go_arch}
+ln -s %{_libdir}/%{name}/contrib/pkg/ %{buildroot}%{_datadir}/go/contrib/pkg 
+install -d  %{buildroot}%{_datadir}/go/contrib/cmd
+install -d  %{buildroot}%{_datadir}/go/contrib/src
+install -Dm644 README-openSUSE $GOROOT/contrib/
 ln -s %{_libdir}/go/contrib/README-openSUSE 
%{buildroot}%{_datadir}/go/contrib/README-openSUSE
 
 # source files for go install, godoc, etc
@@ -180,7 +187,7 @@
 rm -f misc/kate/go.xml
 
 # install RPM macros ($GOARCH prepared in %%prep section)
-install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
+install -Dm644 go.macros %{buildroot}%{_sysconfdir}/rpm/macros.go
 
 # break hard links
 rm %{buildroot}%{_libdir}/go/pkg/linux_%{go_arch}/{cgocall,runtime}.h


++ go.sh ++
---

commit go for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2014-09-17 17:25:29

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2014-09-09 19:00:51.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2014-09-17 
17:25:40.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep  9 14:56:06 UTC 2014 - i...@marguerite.su
+
+- add new macro godoc_package & go_recommends to easy packaging
+
+---



Other differences:
--

++ macros.go ++
--- /var/tmp/diff_new_pack.uMsam7/_old  2014-09-17 17:25:41.0 +0200
+++ /var/tmp/diff_new_pack.uMsam7/_new  2014-09-17 17:25:41.0 +0200
@@ -27,6 +27,11 @@
 Provides:   %{name}-devel = %{version} \
 Provides:   %{name}-devel-static = %{version}
 
+%go_recommends \
+%if 0%{?suse_version} >= 1100 \
+Recommends: %{name}-doc \
+%endif
+
 %go_disable_brp_strip_static_archive \
 %undefine __os_install_post \
 %define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
@@ -167,3 +172,13 @@
 find . -name *.go -exec install -Dm644 \{\} 
%{buildroot}%{go_contribsrcdir}/\{\} \\; \
 %{nil}
 
+# Template for doc sub-package
+%godoc_package(n:r:) \
+%package %{-n:-n %{-n*}-}doc \
+Summary: API documention for package %{name} \
+Group: Documentation/Other \
+Requires: %{-n:%{-n*}}%{!-n:%{name}} = %{version} \
+%{-r:Requires: %{-r*}} \
+%description %{-n:-n %{-n*}-}doc \
+This package provides API, examples and documentation \
+for package %{name}.
\ No newline at end of file

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2014-09-09 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2014-09-09 19:00:19

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2014-08-14 14:58:10.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2014-09-09 
19:00:51.0 +0200
@@ -1,0 +2,6 @@
+Sat Aug 30 22:24:09 UTC 2014 - jf...@funktronics.ca
+
+- Update to version 1.3.1:
+  - bug fixes to the compiler and the runtime, net, and crypto/rsa packages
+
+---

Old:

  go1.3.src.tar.gz

New:

  go1.3.1.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.ErhkPR/_old  2014-09-09 19:00:55.0 +0200
+++ /var/tmp/diff_new_pack.ErhkPR/_new  2014-09-09 19:00:55.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:1.3
+Version:1.3.1
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause


++ go1.3.src.tar.gz -> go1.3.1.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.3.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.3.1.src.tar.gz differ: char 13, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2014-08-14 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2014-08-14 14:58:02

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2013-12-03 09:06:08.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2014-08-14 
14:58:10.0 +0200
@@ -1,0 +2,20 @@
+Tue Aug 12 07:42:55 UTC 2014 - tchva...@suse.com
+
+- Fix download url.
+
+---
+Thu Jul 31 15:09:29 UTC 2014 - dims...@opensuse.org
+
+- Rename rpmlintrc to %{name}-rpmlintrc.
+  Follow the packaging guidelines.
+
+---
+Thu Jun 19 22:44:18 UTC 2014 - mrueck...@suse.de
+
+- Update to version 1.3:
+  see http://golang.org/doc/go1.3
+- refreshed patches to apply cleanly again:
+  - go-build-dont-reinstall-stdlibs.patch
+  - verbose-build.patch
+
+---

Old:

  go1.2.src.tar.gz
  rpmlintrc

New:

  go-rpmlintrc
  go1.3.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.dwmxQf/_old  2014-08-14 14:58:13.0 +0200
+++ /var/tmp/diff_new_pack.dwmxQf/_new  2014-08-14 14:58:13.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,14 +18,14 @@
 
 
 Name:   go
-Version:1.2
+Version:1.3
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source0:http://go.googlecode.com/files/go%{version}.src.tar.gz
-Source1:rpmlintrc
+Source0:http://golang.org/dl/go%{version}.src.tar.gz
+Source1:go-rpmlintrc
 Source2:go.sh
 Source3:macros.go
 Source6:go-wiki-gadget.xml

++ go-build-dont-reinstall-stdlibs.patch ++
--- /var/tmp/diff_new_pack.dwmxQf/_old  2014-08-14 14:58:13.0 +0200
+++ /var/tmp/diff_new_pack.dwmxQf/_new  2014-08-14 14:58:13.0 +0200
@@ -1,8 +1,8 @@
-diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go
-index 4bb83f1..16ce829 100644
 a/src/cmd/go/build.go
-+++ b/src/cmd/go/build.go
-@@ -91,6 +91,7 @@ func init() {
+Index: go/src/cmd/go/build.go
+===
+--- go.orig/src/cmd/go/build.go
 go/src/cmd/go/build.go
+@@ -117,6 +117,7 @@ func init() {
  }
  
  // Flags set by multiple commands.
@@ -10,8 +10,8 @@
  var buildA bool   // -a flag
  var buildN bool   // -n flag
  var buildP = runtime.NumCPU() // -p flag
-@@ -139,6 +140,10 @@ func init() {
- // addBuildFlags adds the flags common to the build and install commands.
+@@ -169,6 +170,10 @@ func init() {
+ // install, list, run, and test commands.
  func addBuildFlags(cmd *Command) {
// NOTE: If you add flags here, also add them to testflag.go.
 +
@@ -21,7 +21,7 @@
cmd.Flag.BoolVar(&buildA, "a", false, "")
cmd.Flag.BoolVar(&buildN, "n", false, "")
cmd.Flag.IntVar(&buildP, "p", buildP, "")
-@@ -762,6 +767,11 @@ func (b *builder) build(a *action) (err error) {
+@@ -1020,6 +1025,11 @@ func (b *builder) build(a *action) (err
  
  // install is the action for installing a single package or executable.
  func (b *builder) install(a *action) (err error) {

++ go-rpmlintrc ++
addFilter("binaryinfo-readelf-failed")  # go binaries are suposedly 
ELF-compliant
addFilter("statically-linked-binary")   # go doesn't yet support dynamic linking

++ go1.2.src.tar.gz -> go1.3.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.2.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.3.src.tar.gz differ: char 12, line 1

++ verbose-build.patch ++
--- /var/tmp/diff_new_pack.dwmxQf/_old  2014-08-14 14:58:13.0 +0200
+++ /var/tmp/diff_new_pack.dwmxQf/_new  2014-08-14 14:58:13.0 +0200
@@ -1,19 +1,19 @@
-diff --git a/src/make.bash b/src/make.bash
-index 8d0f6eb..905ec04 100755
 a/src/make.bash
-+++ b/src/make.bash
-@@ -140,12 +140,12 @@ echo
- if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then
-   echo "# Building packages and commands for host, $GOHOSTOS/$GOHOSTARCH."
-   GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
+Index: go/src/make.bash
+===

commit go for openSUSE:Factory

2013-12-03 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-12-03 09:06:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2013-11-07 08:39:59.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2013-12-03 
09:06:08.0 +0100
@@ -1,0 +2,6 @@
+Mon Dec  2 12:37:00 UTC 2013 - speili...@suse.com
+
+- Update to version 1.2:
+  + No real changes since RC2
+
+---

Old:

  go1.2rc2.src.tar.gz

New:

  go1.2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.uHWdTl/_old  2013-12-03 09:06:09.0 +0100
+++ /var/tmp/diff_new_pack.uHWdTl/_new  2013-12-03 09:06:09.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:1.2rc2
+Version:1.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause


++ go1.2rc2.src.tar.gz -> go1.2.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.2rc2.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.2.src.tar.gz differ: char 41, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2013-11-06 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-11-07 08:39:59

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2013-10-22 14:51:35.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2013-11-07 
08:39:59.0 +0100
@@ -4 +4 @@
-- Add %go_tooldir macro
+- Add %go_tooldir macro and create the tools directory in %goprep



Other differences:
--

++ macros.go ++
--- /var/tmp/diff_new_pack.XCyO69/_old  2013-11-07 08:40:00.0 +0100
+++ /var/tmp/diff_new_pack.XCyO69/_new  2013-11-07 08:40:00.0 +0100
@@ -51,8 +51,9 @@
 rmdir ${pkg_dir} \
 ln -s $GOPATH/src/$IMPORTPATH ${pkg_dir} \
 cd ${pkg_dir} \
-# we'll be installing packages/binaries, make the targ dirs \
+# we'll be installing packages/binaries/tools, make the targ dirs \
 install -d %{buildroot}%{go_contribdir} \
+install -d %{buildroot}%{go_tooldir} \
 install -d %{buildroot}%{_bindir} \
 %{nil}
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2013-10-22 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-10-22 14:51:34

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2013-08-21 10:29:35.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2013-10-22 
14:51:35.0 +0200
@@ -1,0 +2,17 @@
+Fri Oct 18 14:19:53 UTC 2013 - speili...@suse.com
+
+- Add %go_tooldir macro
+
+---
+Fri Oct 18 12:49:52 UTC 2013 - speili...@suse.com
+
+- Update to version 1.2rc2:
+  + New packages: encoding, image/color/palette
+  + Performance improvements
+  + Three-index slices
+  + godoc and vet commands moved to go-go.tools package
+* Removed godoc-path-locations.patch and godoc.service
+  + Check golang.org/doc/go1.2 for a full list of changes
+- Fix go_ver macro to provide the version number again
+
+---

Old:

  go1.1.2.src.tar.gz
  godoc-path-locations.patch
  godoc.service

New:

  go1.2rc2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.WNAQT2/_old  2013-10-22 14:51:38.0 +0200
+++ /var/tmp/diff_new_pack.WNAQT2/_new  2013-10-22 14:51:38.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:1.1.2
+Version:1.2rc2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -28,20 +28,17 @@
 Source1:rpmlintrc
 Source2:go.sh
 Source3:macros.go
-Source4:godoc.service
 Source6:go-wiki-gadget.xml
 Source5:README-openSUSE
-# PATCH-FIX-OPENSUSE adjust documentation paths for API/doc server
-Patch1: godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
-Patch3: go-build-dont-reinstall-stdlibs.patch
+Patch1: go-build-dont-reinstall-stdlibs.patch
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
-Patch4: allow-binary-only-packages.patch
+Patch2: allow-binary-only-packages.patch
 #PATCH-FIX-OPENSUSE use -x verbose build output for qemu-arm builders
-Patch5: verbose-build.patch
+Patch3: verbose-build.patch
 # PATCH-FIX-OPENSUSE BNC#776058
-Patch6: go-install-dont-reinstall-stdlibs.patch
+Patch4: go-install-dont-reinstall-stdlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
@@ -60,10 +57,6 @@
 Provides:   go-devel-static = %{name}%{version}
 Obsoletes:  go-devel < %{name}%{version}
 ExclusiveArch:  %ix86 x86_64 %arm
-# For godoc service
-%if 0%{?suse_version} >= 1210
-%systemd_requires
-%endif
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -99,11 +92,9 @@
 %prep
 %setup -q -n %{name}
 %patch1 -p1
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
-%patch6 -p1
-cp %{SOURCE4} .
 cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)
@@ -134,7 +125,7 @@
 bin/go install -race std
 %endif
 %ifarch %ix86
-strip $GOBIN/go $GOBIN/godoc # bnc#818502
+strip $GOBIN/go # bnc#818502
 %endif
 
 %install
@@ -160,10 +151,6 @@
 install -Dm644 README-openSUSE %{buildroot}%{_libdir}/go/contrib/
 ln -s %{_libdir}/go/contrib/README-openSUSE 
%{buildroot}%{_datadir}/go/contrib/README-openSUSE
 
-# godoc service
-mkdir -p %{buildroot}%{_unitdir}
-install -Dm644 godoc.service %{buildroot}%{_unitdir}/godoc.service
-
 # source files for go install, godoc, etc
 install -d %{buildroot}%{_datadir}/go
 for ext in *.{go,c,h,s,S,py}; do
@@ -176,7 +163,6 @@
 # copy document templates, packages, obj libs and command utilities
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p $GOROOT/lib
-cp -ar lib/godoc $GOROOT/lib
 mv pkg $GOROOT
 mv bin/* %{buildroot}%{_bindir}
 rm -f %{buildroot}%{_bindir}/{hgpatch,quietgcc}
@@ -207,26 +193,6 @@
 %fdupes %{buildroot}%{_prefix}
 %endif
 
-%pre
-%if 0%{?suse_version} >= 1210
-%service_add_pre godoc.service
-%endif
-
-%post
-%if 0%{?suse_version} >= 1210
-%service_add_post godoc.service
-%endif
-
-%preun
-%if 0%{?suse_version} >= 1210
-%service_del_preun godoc.service
-%endif
-
-%postun
-%if 0%{?suse_version} >= 1210
-%service_del_postun godoc.service
-%endif
-
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CONTRIBUTORS LICENSE PATENTS README README-openSUSE
@@ -246,9 +212,6 @@
 #%%config %{_sysconfdir}/bash_completion.d/go.sh
 %config %{_sysconfdir}/profile.d/go.sh
 %config %

commit go for openSUSE:Factory

2013-08-21 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-08-21 10:29:33

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2013-07-18 17:31:21.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2013-08-21 
10:29:35.0 +0200
@@ -1,0 +2,39 @@
+Wed Aug 14 13:50:05 UTC 2013 - speili...@suse.com
+
+- Fix Factory i586 build failure by stripping binaries earlier.
+
+---
+Tue Aug 13 14:10:54 UTC 2013 - speili...@suse.com
+
+- Rework %go_prep again, use "shopt -s dotglob" to catch hidden files
+- Change %go_requires to "Require: go >= %go_ver" instead of
+  "Require: go-devel = %go_ver". Go follows a stable release policy which
+  means patch-level updates are (supposed to be) compatible.
+
+---
+Tue Aug 13 12:32:44 UTC 2013 - speili...@suse.com
+
+- Update to version 1.1.2:
+  + includes fixes to the gc compiler and cgo, and the bufio, runtime, syscall,
+and time packages. See the change history for details. If you use package
+syscall's Getrlimit and Setrlimit functions under Linux on the ARM or 386
+architectures, please note change 55ac276af5a7 that fixes issue 5949. 
+- Fix %go_prep again: Also move hidden files (.$BLA)
+
+---
+Tue Aug 13 09:42:03 UTC 2013 - speili...@suse.com
+
+- Also set ExclusiveArch in %go_requires macro. Allows to drop
+  %go_exclusivearch again 
+- Fix %go_prep macro: Find directories in %_builddir based on Go
+  package name prefix (not exact match).
+
+---
+Tue Aug 13 07:27:24 UTC 2013 - speili...@suse.com
+
+- Fix URL
+- Add %go_exclusivearch macro. It's better to only specify ExclusiveArch
+  in the "go" package instead of all Go packages. Avoids errors once
+  Go becomes available on more architectures
+
+---

Old:

  go1.1.1.src.tar.gz

New:

  go1.1.2.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.Or5xnc/_old  2013-08-21 10:29:37.0 +0200
+++ /var/tmp/diff_new_pack.Or5xnc/_new  2013-08-21 10:29:37.0 +0200
@@ -18,11 +18,12 @@
 
 
 Name:   go
-Version:1.1.1
+Version:1.1.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
-Group:  Development/Languages/OthUrl:http://golang.org
+Group:  Development/Languages/Other
+Url:http://golang.org
 Source0:http://go.googlecode.com/files/go%{version}.src.tar.gz
 Source1:rpmlintrc
 Source2:go.sh
@@ -50,6 +51,10 @@
 %if 0%{?suse_version} >= 1100
 BuildRequires:  fdupes
 Recommends: go-doc
+#BNC#818502 debug edit tool of rpm fails on i586 builds
+%if 0%{?suse_version} > 1230
+BuildRequires:  rpm >= 4.11.1
+%endif
 %endif
 Provides:   go-devel = %{name}%{version}
 Provides:   go-devel-static = %{name}%{version}
@@ -128,6 +133,9 @@
 cd ../
 bin/go install -race std
 %endif
+%ifarch %ix86
+strip $GOBIN/go $GOBIN/godoc # bnc#818502
+%endif
 
 %install
 export GOROOT="%{buildroot}%{_libdir}/%{name}"


++ go1.1.1.src.tar.gz -> go1.1.2.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.1.1.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.1.2.src.tar.gz differ: char 13, line 1

++ macros.go ++
--- /var/tmp/diff_new_pack.Or5xnc/_old  2013-08-21 10:29:37.0 +0200
+++ /var/tmp/diff_new_pack.Or5xnc/_new  2013-08-21 10:29:37.0 +0200
@@ -2,6 +2,7 @@
 #
 # Copyright: (c) 2011 Sascha Peilicke 
 # Copyright: (c) 2012 Graham Anderson 
+# Copyright: (c) 2013 SUSE Linux Products GmbH
 #
 
 %go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 
's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
@@ -14,7 +15,12 @@
 %go_contribdir %{_libdir}/go/contrib/pkg/linux_%{go_arch}
 %go_contribsrcdir  %{_datadir}/go/contrib/src/pkg
 
-%go_requiresRequires: go-devel = %go_build_ver
+%go_exclusivearch \
+ExclusiveArch:  %ix86 x86_64 %arm
+
+%go_requires \
+ExclusiveArch:  %ix86 x86_64 %arm \
+Requires:   go >= %go_build_ver
 
 %go_provides \
 Provides:   %{name}-devel = %{version} \
@@ -36,10 +42,14 @@
   export IMPORTPATH=%1 \
 fi \
 # create the importpath and move the package there \
-mkdir -p $GOPATH/src/$IMPORTPATH && mv ./* $GOPATH/src/$IMPORTPATH \
+pkg_dir=$(basename $PWD) \
+cd %{_builddir} \
+mkdir -p $GOPATH/s

commit go for openSUSE:Factory

2013-07-18 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-07-18 17:31:19

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go"

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2013-03-30 14:56:25.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2013-07-18 
17:31:21.0 +0200
@@ -1,0 +2,52 @@
+Wed Jul 10 12:33:34 UTC 2013 - gra...@andtech.eu
+
+- Fix godoc path locations patch
+
+---
+Thu Jun 13 08:37:25 UTC 2013 - gra...@andtech.eu
+
+- Update to Go 1.1.1
+- cmd/gc: compute initialization order for top-level blank vars
+- cmd/gc: save local var list before inlining
+- cmd/gc: fix missing slice/array types in export data.
+- runtime: fix heap corruption during GC
+- runtime: zeroize g->fnstart to not prevent GC of the closure.
+- cmd/gc: repair make(T) in export data for inlining.i
+- runtime: fix GC scanning of slices
+- cmd/gc: do not corrupt init() with initializers of _ in closures.
+- runtime: introduce cnewarray() to simplify allocation of typed
+  arrays.
+
+---
+Tue May 14 09:03:19 UTC 2013 - gra...@andtech.eu
+
+- Package changes
+  - macros.go: update go version macro to cut trailing characters
+added by new style of "go version" identifier string
+  - Update openSUSE specific patches to cleanly apply against Go 1.1
+
+- Update package source and version to Go 1.1
+- Full release notes for Go 1.1 can be found online here:
+  http://golang.org/doc/go1.1
+- There are too many bug fixes to list individually; details of all
+  bugs fixed can be found on the issue tracker tagged with Go1.1
+  http://code.google.com/p/go/issues/list?can=1&q=label%3AGo1.1
+- Language changes which may affect your existing programmes
+  - Integer division by zero: http://golang.org/doc/go1.1#divzero
+  - Surrogates in unicode literals: 
http://golang.org/doc/go1.1#unicode_literals
+  - Method values: http://golang.org/doc/go1.1#method_values
+  - Return requirements: http://golang.org/doc/go1.1#return
+
+- The majority of improvements in this release are performance related
+  with optimizations in the compiler and linker, garbage collection,
+  goroutine scheduler, map/hashmap implementation and numerous speedups
+  in the standard library. Please see the full release notes for details.
+
+- One noteworthy addition to the toolchain is the addition of a race
+  detector. This should help improve the memory safety and accuracy of 
+  your concurrent Go programmes. Race detection versions of the standard
+  library are included in this package update. You can find instructions
+  for building librarys and programmes with race detection in the manual:
+  http://golang.org/doc/articles/race_detector.html
+
+---

Old:

  go1.0.3.src.tar.gz

New:

  go1.1.1.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.xg8zMK/_old  2013-07-18 17:31:22.0 +0200
+++ /var/tmp/diff_new_pack.xg8zMK/_new  2013-07-18 17:31:22.0 +0200
@@ -18,12 +18,11 @@
 
 
 Name:   go
-Version:1.0.3
+Version:1.1.1
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:http://golang.org
+Group:  Development/Languages/OthUrl:http://golang.org
 Source0:http://go.googlecode.com/files/go%{version}.src.tar.gz
 Source1:rpmlintrc
 Source2:go.sh
@@ -38,11 +37,14 @@
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
 Patch4: allow-binary-only-packages.patch
+#PATCH-FIX-OPENSUSE use -x verbose build output for qemu-arm builders
 Patch5: verbose-build.patch
 # PATCH-FIX-OPENSUSE BNC#776058
 Patch6: go-install-dont-reinstall-stdlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  rpm
 %if 0%{?suse_version} >= 1210
+BuildRequires:  mercurial
 BuildRequires:  systemd
 %endif
 %if 0%{?suse_version} >= 1100
@@ -58,11 +60,6 @@
 %systemd_requires
 %endif
 
-# fc pukes on the debug info in the command binaries
-%if 0%{?fedora} 
-%define debug_package %{nil}
-%endif
-
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
 that is type safe and memory safe. It has pointers but no pointer arithmetic.
@@ -124,18 +121,24 @@
 export GOBIN="$GOROOT/bin"
 mkdir -

commit go for openSUSE:Factory

2013-03-30 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2013-03-30 14:56:24

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-11-08 07:59:32.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2013-03-30 
14:56:25.0 +0100
@@ -1,0 +2,6 @@
+Fri Mar 22 15:33:35 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Drop the go-kate package, the syntax is already shipped with 
+  libktexteditor package
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.545Hyc/_old  2013-03-30 14:56:27.0 +0100
+++ /var/tmp/diff_new_pack.545Hyc/_new  2013-03-30 14:56:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -94,14 +94,6 @@
 %description emacs
 Emacs syntax highlighting scheme for the Go programming language.
 
-%package kate
-Summary:Go syntax files for Kate and KWrite editors
-Group:  Productivity/Text/Editors
-Requires:   %{name} = %{version}
-
-%description kate
-Kate syntax highlighting scheme for the Go programming language.
-
 %prep
 %setup -q -n %{name}
 %patch1 -p1
@@ -149,7 +141,6 @@
 install -Dm644 misc/vim/syntax/godoc.vim 
%{buildroot}%{_datadir}/vim/site/syntax/godoc.vim
 install -Dm644 misc/vim/syntax/go.vim 
%{buildroot}%{_datadir}/vim/site/syntax/go.vim
 install -Dm644 misc/vim/ftdetect/gofiletype.vim 
%{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim
-install -Dm644 misc/kate/go.xml 
%{buildroot}%{_datadir}/kde4/apps/katepart/syntax/go.xml
 
 # locations for third party libraries, see README-openSUSE for info about 
locations.
 install -d  %{buildroot}%{_libdir}/go/contrib/pkg/linux_%{go_arch}
@@ -188,6 +179,8 @@
 rm -f misc/goplay/{goplay,*.6,*.8}
 rm -rf misc/windows
 rm -rf misc/cgo/test/{_*,*.o,*.out,*.6,*.8}
+# remove kate syntax file, it is shipped with libktexteditor already
+rm -f misc/kate/go.xml
 
 # install RPM macros ($GOARCH prepared in %%prep section)
 install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go
@@ -258,12 +251,4 @@
 %defattr(-,root,root,-)
 %{_datadir}/emacs/site-lisp/go-mode*
 
-%files kate
-%defattr(-,root,root,-)
-%dir %{_datadir}/kde4
-%dir %{_datadir}/kde4/apps
-%dir %{_datadir}/kde4/apps/katepart
-%dir %{_datadir}/kde4/apps/katepart/syntax
-%{_datadir}/kde4/apps/katepart/syntax/go.xml
-
 %changelog


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-11-07 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-11-08 07:59:29

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-10-03 07:24:23.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-11-08 
07:59:32.0 +0100
@@ -1,0 +2,6 @@
+Tue Nov  6 13:38:57 UTC 2012 - sasc...@suse.de
+
+- Remove misc documentation. It doesn't contain anything really useful
+  and several files are found in other (sub-)packages (bnc#788344)
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.E9cod5/_old  2012-11-08 07:59:33.0 +0100
+++ /var/tmp/diff_new_pack.E9cod5/_new  2012-11-08 07:59:33.0 +0100
@@ -247,7 +247,7 @@
 
 %files doc
 %defattr(-,root,root,-)
-%doc doc misc
+%doc doc
 
 %files vim
 %defattr(-,root,root,-)


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-10-02 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-10-03 07:24:21

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-09-11 09:05:53.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-10-03 
07:24:23.0 +0200
@@ -1,0 +2,13 @@
+Mon Oct  1 09:16:43 UTC 2012 - sasc...@suse.de
+
+- Update to version 1.0.3:
+  - Improved documentation
+  - List of fixed issues:
+https://groups.google.com/forum/#!topic/golang-nuts/co3SvXbGrNk
+  - More details can be found on this full list of changes:
+http://code.google.com/p/go/source/list?name=release-branch.go1
+- Removed:
+  - opensuse-vim.patch, merged upstream
+  - Fix for bnc#686557, offending pdf was removed upstream
+
+---

Old:

  go1.0.2.src.tar.gz
  opensuse-vim.patch

New:

  go1.0.3.src.tar.gz



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.1JLZKI/_old  2012-10-03 07:24:26.0 +0200
+++ /var/tmp/diff_new_pack.1JLZKI/_new  2012-10-03 07:24:26.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:1.0.2
+Version:1.0.3
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -39,10 +39,8 @@
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
 Patch4: allow-binary-only-packages.patch
 Patch5: verbose-build.patch
-# PATCH-FIX-OPENSUSE fix vim Godoc and Import helpers/autocomplete
-Patch6: opensuse-vim.patch
 # PATCH-FIX-OPENSUSE BNC#776058
-Patch7: go-install-dont-reinstall-stdlibs.patch
+Patch6: go-install-dont-reinstall-stdlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} >= 1210
 BuildRequires:  systemd
@@ -111,7 +109,6 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
 cp %{SOURCE4} .
 cp %{SOURCE5} .
 
@@ -191,8 +188,6 @@
 rm -f misc/goplay/{goplay,*.6,*.8}
 rm -rf misc/windows
 rm -rf misc/cgo/test/{_*,*.o,*.out,*.6,*.8}
-# fix bnc#686557, contains image licensed under non-commercial license
-rm doc/talks/go_talk-20091030.pdf
 
 # install RPM macros ($GOARCH prepared in %%prep section)
 install -Dm644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.go


++ go1.0.2.src.tar.gz -> go1.0.3.src.tar.gz ++
/work/SRC/openSUSE:Factory/go/go1.0.2.src.tar.gz 
/work/SRC/openSUSE:Factory/.go.new/go1.0.3.src.tar.gz differ: char 16, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-09-11 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-09-11 09:05:51

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-08-26 11:31:57.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-09-11 
09:05:53.0 +0200
@@ -1,0 +2,19 @@
+Wed Sep  5 03:46:15 UTC 2012 - gra...@andtech.eu
+
+- BNC#776058
+   - Add new patch to prevent the go install tool trying to reinstall
+ std library packages that are dependencies of third party packages.
+   - Using touch on the precompiled archives introdoces additional
+ problems with the go install tool. Instead, we simply don't mark
+ std library files as stale when a third party package is evaluated
+ for installation. The behaviour remains unchanged for the root
+ user and while it is inadvisable to manually reinstall standard
+ libraries using the openSUSE packages, we do not disallow it.
+- Spec changes
+   - Remove redundant requires for ed/bison
+   - Minor tweaks for cross distro builds based on FC/Mageia/Mandriva
+- Macro changes
+   - Tweak the BRP strip macro to work on RHEL based distros
+- Add go-wiki xml widget
+
+---

New:

  go-install-dont-reinstall-stdlibs.patch
  go-wiki-gadget.xml



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.4I8ohE/_old  2012-09-11 09:06:00.0 +0200
+++ /var/tmp/diff_new_pack.4I8ohE/_new  2012-09-11 09:06:00.0 +0200
@@ -29,6 +29,7 @@
 Source2:go.sh
 Source3:macros.go
 Source4:godoc.service
+Source6:go-wiki-gadget.xml
 Source5:README-openSUSE
 # PATCH-FIX-OPENSUSE adjust documentation paths for API/doc server
 Patch1: godoc-path-locations.patch
@@ -40,9 +41,9 @@
 Patch5: verbose-build.patch
 # PATCH-FIX-OPENSUSE fix vim Godoc and Import helpers/autocomplete
 Patch6: opensuse-vim.patch
+# PATCH-FIX-OPENSUSE BNC#776058
+Patch7: go-install-dont-reinstall-stdlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  bison
-BuildRequires:  ed
 %if 0%{?suse_version} >= 1210
 BuildRequires:  systemd
 %endif
@@ -59,6 +60,11 @@
 %systemd_requires
 %endif
 
+# fc pukes on the debug info in the command binaries
+%if 0%{?fedora} 
+%define debug_package %{nil}
+%endif
+
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
 that is type safe and memory safe. It has pointers but no pointer arithmetic.
@@ -100,12 +106,12 @@
 
 %prep
 %setup -q -n %{name}
-echo %{requiretest}
 %patch1 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 cp %{SOURCE4} .
 cp %{SOURCE5} .
 
@@ -212,9 +218,6 @@
 %service_add_post godoc.service
 %endif
 
-%post -n go-doc
-find %{_libdir}/go/pkg -type f -exec touch {} +
-
 %preun
 %if 0%{?suse_version} >= 1210
 %service_del_preun godoc.service
@@ -237,13 +240,13 @@
 %ifarch %arm
 %{_libdir}/go/pkg/tool/linux_%{go_arch}/5*
 %endif
+%{_datadir}/go/
 %{_bindir}/go*
 %{_libdir}/go/
-%{_datadir}/go/
 %config %{_sysconfdir}/bash_completion.d/go
 %config %{_sysconfdir}/profile.d/go.sh
 %config %{_sysconfdir}/rpm/macros.go
-%if 0%{?suse_version} >= 1210
+%if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 16
 %{_unitdir}/godoc.service
 %endif
 

++ go-install-dont-reinstall-stdlibs.patch ++
diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
index 54d65f9..a6c93f4 100644
--- a/src/cmd/go/pkg.go
+++ b/src/cmd/go/pkg.go
@@ -476,6 +476,13 @@ func isStale(p *Package, topRoot map[string]bool) bool {
return true
}
 
+   // openSUSE bnc#776058
+   // Only root user can reinstall a std library from a dependancy, all 
other
+   // users should *never* have to do this.
+   if os.Getuid() != 0  && p.Standard {
+   return false
+   }
+
olderThan := func(file string) bool {
fi, err := os.Stat(file)
return err != nil || fi.ModTime().After(built)
++ macros.go ++
--- /var/tmp/diff_new_pack.4I8ohE/_old  2012-09-11 09:06:00.0 +0200
+++ /var/tmp/diff_new_pack.4I8ohE/_new  2012-09-11 09:06:00.0 +0200
@@ -24,7 +24,6 @@
 %undefine __os_install_post \
 %define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
 
-
 # Prepare the expected Go package build environement.
 # We need a $GOPATH: go help gopath
 # We need a valid importpath: go help packages
@@ -127,6 +126,7 @@
 if [ "$(

commit go for openSUSE:Factory

2012-08-26 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-08-26 11:31:46

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-07-12 10:43:33.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-08-26 
11:31:57.0 +0200
@@ -1,0 +2,24 @@
+Thu Aug 16 11:15:13 UTC 2012 - gra...@andtech.eu
+
+- BNC#776058
+- spec changes, reverse positions of compiled items and package
+  source in the %install section. touch compiled package archives
+  after source is installed for go-doc, this prevents the go tool
+  trying to re-compile/install std libraries.
+
+---
+Tue Aug 14 22:31:47 UTC 2012 - gra...@andtech.eu
+
+- Patch vim Godoc and Import plugins.
+- Update spec file.
+  - Instead of using tarball generated from a repo checkout, switch 
+tarball source and use upstream official tarball.
+  - Remove dependance on VERSION file, make spec more robust for
+future updates.
+
+---
+Mon Jul 16 23:56:36 UTC 2012 - gra...@andtech.eu
+
+- remove unavailable -x verbose flag from go fix macro
+
+---

Old:

  VERSION
  go-1.0.2.tar.bz2

New:

  go1.0.2.src.tar.gz
  opensuse-vim.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.uJLCAd/_old  2012-08-26 11:31:59.0 +0200
+++ /var/tmp/diff_new_pack.uJLCAd/_new  2012-08-26 11:31:59.0 +0200
@@ -24,15 +24,12 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Other
 Url:http://golang.org
-Source0:go-%{version}.tar.bz2
+Source0:http://go.googlecode.com/files/go%{version}.src.tar.gz
 Source1:rpmlintrc
 Source2:go.sh
 Source3:macros.go
-# This file is otherwise generated at build-time from the .hg directory, which 
was
-# stripped from the tarball to save space. TODO: Update contents after version 
update!
-Source4:VERSION
-Source5:godoc.service
-Source6:README-openSUSE
+Source4:godoc.service
+Source5:README-openSUSE
 # PATCH-FIX-OPENSUSE adjust documentation paths for API/doc server
 Patch1: godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
@@ -41,6 +38,8 @@
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
 Patch4: allow-binary-only-packages.patch
 Patch5: verbose-build.patch
+# PATCH-FIX-OPENSUSE fix vim Godoc and Import helpers/autocomplete
+Patch6: opensuse-vim.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  ed
@@ -51,15 +50,9 @@
 BuildRequires:  fdupes
 Recommends: go-doc
 %endif
-# We need to manually specify the release version string here. All code 
compiled
-# with this package will have the release string specified by the VERSION file
-# in this source tarball baked into it, libs compiled with a different version
-# cannot be linked anyway so all library packages will depend on this version 
string.
-# the version string is pulled into the %%godepends macro using the "go 
version" command.
-%define goversion go1.0.2
-Provides:   go-devel = %{goversion}
-Provides:   go-devel-static = %{goversion}
-Obsoletes:  go-devel < %{goversion}
+Provides:   go-devel = %{name}%{version}
+Provides:   go-devel-static = %{name}%{version}
+Obsoletes:  go-devel < %{name}%{version}
 ExclusiveArch:  %ix86 x86_64 %arm
 # For godoc service
 %if 0%{?suse_version} >= 1210
@@ -112,9 +105,9 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 cp %{SOURCE4} .
 cp %{SOURCE5} .
-cp %{SOURCE6} .
 
 # setup go_arch (BSD-like scheme)
 %ifarch %ix86
@@ -166,14 +159,6 @@
 mkdir -p %{buildroot}%{_unitdir}
 install -Dm644 godoc.service %{buildroot}%{_unitdir}/godoc.service
 
-# copy document templates, packages, obj libs and command utilities
-mkdir -p %{buildroot}%{_bindir}
-mkdir -p $GOROOT/lib
-cp -ar lib/godoc $GOROOT/lib
-mv pkg $GOROOT
-mv bin/* %{buildroot}%{_bindir}
-rm -f %{buildroot}%{_bindir}/{hgpatch,quietgcc}
-
 # source files for go install, godoc, etc
 install -d %{buildroot}%{_datadir}/go
 for ext in *.{go,c,h,s,S,py}; do
@@ -183,6 +168,14 @@
 ln -s /usr/share/go/src/pkg $GOROOT/src/pkg
 ln -s /usr/share/go/src/cmd $GOROOT/src/cmd
 
+# copy document templates, packages, obj libs and command utilities
+mkdir -p %{buildroot}%{_bindir}
+mkdir -p $GOROOT/lib
+cp -ar lib/godoc $GOROOT/lib
+mv 

commit go for openSUSE:Factory

2012-07-12 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-07-12 10:43:32

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-06-29 14:04:44.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-07-12 
10:43:33.0 +0200
@@ -1,0 +2,5 @@
+Wed Jun 14 18:17:33 UTC 2012 - ag...@suse.com
+
+- fix some qemu-arm compilation errors by passing -x to go always
+
+---
@@ -22,0 +28,10 @@
+
+---
+Tue May 29 16:57:08 UTC 2012 - ag...@suse.com
+
+- enable verbose build (fixes compilation for ARM? O_o)
+
+---
+Tue May 29 08:59:20 UTC 2012 - dmuel...@suse.com
+
+- fix build for ARM

New:

  verbose-build.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.msWxGD/_old  2012-07-12 10:43:35.0 +0200
+++ /var/tmp/diff_new_pack.msWxGD/_new  2012-07-12 10:43:35.0 +0200
@@ -40,6 +40,7 @@
 # PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
 # see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
 Patch4: allow-binary-only-packages.patch
+Patch5: verbose-build.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  ed
@@ -110,6 +111,7 @@
 %patch1 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 cp %{SOURCE4} .
 cp %{SOURCE5} .
 cp %{SOURCE6} .
@@ -230,6 +232,15 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CONTRIBUTORS LICENSE PATENTS README README-openSUSE
+%ifarch %ix86
+%{_libdir}/go/pkg/tool/linux_%{go_arch}/8*
+%endif
+%ifarch x86_64
+%{_libdir}/go/pkg/tool/linux_%{go_arch}/6*
+%endif
+%ifarch %arm
+%{_libdir}/go/pkg/tool/linux_%{go_arch}/5*
+%endif
 %{_bindir}/go*
 %{_libdir}/go/
 %{_datadir}/go/

++ go.sh ++
--- /var/tmp/diff_new_pack.msWxGD/_old  2012-07-12 10:43:35.0 +0200
+++ /var/tmp/diff_new_pack.msWxGD/_new  2012-07-12 10:43:35.0 +0200
@@ -7,7 +7,11 @@
 fi  
 
 export GOOS="linux"
-export GOARCH=$arch
+case "$(uname -m)" in
+*86)
+export GOARCH=$arch
+;;
+esac
 export GOROOT=/usr/$libdir/go
 export GOBIN=/usr/bin
 export GOPATH=$GOROOT/contrib

++ macros.go ++
--- /var/tmp/diff_new_pack.msWxGD/_old  2012-07-12 10:43:35.0 +0200
+++ /var/tmp/diff_new_pack.msWxGD/_new  2012-07-12 10:43:35.0 +0200
@@ -94,7 +94,7 @@
 #
 # See: go help install, go help packages
 %gobuild() \
-export BUILDFLAGS="-s -v -p 4" \
+export BUILDFLAGS="-s -v -p 4 -x" \
 export GOPATH=%{_builddir}/go:%{_libdir}/go/contrib \
 export GOBIN=%{_builddir}/go/bin \
 MOD="" \
@@ -134,7 +134,7 @@
   echo "gofix: please specify a valid importpath, see: go help fix" \
   exit 1 \
 else \
-  go fix %1... \
+  go fix -x %1... \
 fi \
 %{nil}
 
@@ -144,7 +144,7 @@
   echo "gotest: please specify a valid importpath, see: go help test" \
   exit 1 \
 else \
-  go test %1... \
+  go test -x %1... \
 fi \
 %{nil}
 

++ verbose-build.patch ++
--- go/src/make.bash.orig   2012-05-29 18:30:57.734377736 +0200
+++ go/src/make.bash2012-05-29 18:30:59.922377826 +0200
@@ -127,7 +127,7 @@
 fi
 
 echo "# Building packages and commands for $GOOS/$GOARCH."
-"$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags 
"$GO_LDFLAGS" -v std
+"$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags 
"$GO_LDFLAGS" -v -x std
 echo
 
 rm -f "$GOTOOLDIR"/go_bootstrap
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-06-29 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-06-29 14:04:40

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-06-07 15:38:40.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-06-29 
14:04:44.0 +0200
@@ -1,0 +2,12 @@
+Thu Jun 14 08:39:11 UTC 2012 - gra...@andtech.eu
+
+- Update to bugfix release 1.0.2
+- This fixes two major bugs:
+  3695 runtime: computed hash value for struct map key ignores 
+  some fields
+  3573 runtime: use of large map key causes crash
+- Additionally, this fixes numerous smaller documentation and code
+  fixes, details can be found on this full list of changes:
+  http://code.google.com/p/go/source/list?name=release-branch.go1
+
+---

Old:

  go-1.0.1.tar.bz2

New:

  go-1.0.2.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.ZYZnXi/_old  2012-06-29 14:04:48.0 +0200
+++ /var/tmp/diff_new_pack.ZYZnXi/_new  2012-06-29 14:04:48.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:1.0.1
+Version:1.0.2
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -55,7 +55,7 @@
 # in this source tarball baked into it, libs compiled with a different version
 # cannot be linked anyway so all library packages will depend on this version 
string.
 # the version string is pulled into the %%godepends macro using the "go 
version" command.
-%define goversion go1.0.1
+%define goversion go1.0.2
 Provides:   go-devel = %{goversion}
 Provides:   go-devel-static = %{goversion}
 Obsoletes:  go-devel < %{goversion}

++ VERSION ++
--- /var/tmp/diff_new_pack.ZYZnXi/_old  2012-06-29 14:04:48.0 +0200
+++ /var/tmp/diff_new_pack.ZYZnXi/_new  2012-06-29 14:04:48.0 +0200
@@ -1 +1 @@
-go1.0.1
\ No newline at end of file
+go1.0.2
\ No newline at end of file

++ go-1.0.1.tar.bz2 -> go-1.0.2.tar.bz2 ++
/work/SRC/openSUSE:Factory/go/go-1.0.1.tar.bz2 
/work/SRC/openSUSE:Factory/.go.new/go-1.0.2.tar.bz2 differ: char 11, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-06-07 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-06-07 15:38:32

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-05-10 14:31:56.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-06-07 
15:38:40.0 +0200
@@ -1,0 +2,11 @@
+Tue Jun  5 14:10:49 UTC 2012 - sasc...@suse.de
+
+- Some Fedora_16 build fixes (i.e. added suse macros)
+
+---
+Tue Jun  5 13:53:04 UTC 2012 - gra...@andtech.eu
+
+- Fix build time path locations in macros.go for packages that 
+  depend on other Go packages. 
+
+---



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.DwqS9a/_old  2012-06-07 15:38:41.0 +0200
+++ /var/tmp/diff_new_pack.DwqS9a/_new  2012-06-07 15:38:41.0 +0200
@@ -46,8 +46,10 @@
 %if 0%{?suse_version} >= 1210
 BuildRequires:  systemd
 %endif
+%if 0%{?suse_version} >= 1100
 BuildRequires:  fdupes
 Recommends: go-doc
+%endif
 # We need to manually specify the release version string here. All code 
compiled
 # with this package will have the release string specified by the VERSION file
 # in this source tarball baked into it, libs compiled with a different version
@@ -201,7 +203,9 @@
 # Disable brp-strip-static-archive breaks build
 %define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
 
+%if 0%{?suse_version} >= 1100
 %fdupes %{buildroot}%{_prefix}
+%endif
 
 %pre
 %if 0%{?suse_version} >= 1210

++ macros.go ++
--- /var/tmp/diff_new_pack.DwqS9a/_old  2012-06-07 15:38:41.0 +0200
+++ /var/tmp/diff_new_pack.DwqS9a/_new  2012-06-07 15:38:41.0 +0200
@@ -95,7 +95,7 @@
 # See: go help install, go help packages
 %gobuild() \
 export BUILDFLAGS="-s -v -p 4" \
-export GOPATH=%{_builddir}/go:%{go_contribdir} \
+export GOPATH=%{_builddir}/go:%{_libdir}/go/contrib \
 export GOBIN=%{_builddir}/go/bin \
 MOD="" \
 if [ %# -gt 0 ]; then \
@@ -139,7 +139,7 @@
 %{nil}
 
 %gotest() \
-export GOPATH=%{_builddir}/go \
+export GOPATH=%{_builddir}/go:%{_libdir}/go/contrib  \
 if [ %# -eq 0 ]; then \
   echo "gotest: please specify a valid importpath, see: go help test" \
   exit 1 \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-05-10 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-05-10 14:31:55

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-04-02 19:53:03.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-05-10 
14:31:56.0 +0200
@@ -1,0 +2,24 @@
+Wed May  9 09:32:23 UTC 2012 - gra...@andtech.eu
+
+- Update to version 1.0.1
+- fix escape analysis bug that could cause memory corruption
+- other minor updates see:
+  http://code.google.com/p/go/source/list?name=release-branch.go1
+- go.spec: remove arch dependent conditionals from %files section
+  we don't have to select these anymore.
+
+---
+Thu Apr  5 16:54:27 UTC 2012 - gra...@andtech.eu
+
+- spec/go.sh/macros
+  change install location of third party libs to $GOROOT/contrib
+  add $GOROOT/contrib as the last location in users $GOPATH
+- re-add sachape's typo and version check fixes
+- Update godoc patch and add contrib src dir
+
+---
+Mon Apr  2 18:29:35 UTC 2012 - gra...@andtech.eu
+
+- Add %godoc macro to help with packaging API docs
+
+---

Old:

  go-1.0.tar.bz2

New:

  README-openSUSE
  go-1.0.1.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.prxLns/_old  2012-05-10 14:31:59.0 +0200
+++ /var/tmp/diff_new_pack.prxLns/_new  2012-05-10 14:31:59.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:1.0
+Version:1.0.1
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -32,6 +32,7 @@
 # stripped from the tarball to save space. TODO: Update contents after version 
update!
 Source4:VERSION
 Source5:godoc.service
+Source6:README-openSUSE
 # PATCH-FIX-OPENSUSE adjust documentation paths for API/doc server
 Patch1: godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
@@ -51,9 +52,8 @@
 # with this package will have the release string specified by the VERSION file
 # in this source tarball baked into it, libs compiled with a different version
 # cannot be linked anyway so all library packages will depend on this version 
string.
-# the version string is pulled into the %godepends macro using the "go 
version" command.
-%define goversion go1
-Provides:   go = %{goversion}
+# the version string is pulled into the %%godepends macro using the "go 
version" command.
+%define goversion go1.0.1
 Provides:   go-devel = %{goversion}
 Provides:   go-devel-static = %{goversion}
 Obsoletes:  go-devel < %{goversion}
@@ -110,6 +110,7 @@
 %patch4 -p1
 cp %{SOURCE4} .
 cp %{SOURCE5} .
+cp %{SOURCE6} .
 
 # setup go_arch (BSD-like scheme)
 %ifarch %ix86
@@ -150,6 +151,13 @@
 install -Dm644 misc/vim/ftdetect/gofiletype.vim 
%{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim
 install -Dm644 misc/kate/go.xml 
%{buildroot}%{_datadir}/kde4/apps/katepart/syntax/go.xml
 
+# locations for third party libraries, see README-openSUSE for info about 
locations.
+install -d  %{buildroot}%{_libdir}/go/contrib/pkg/linux_%{go_arch}
+install -d  %{buildroot}%{_datadir}/go/contrib/src/pkg
+install -d  %{buildroot}%{_datadir}/go/contrib/src/cmd
+install -Dm644 README-openSUSE %{buildroot}%{_libdir}/go/contrib/
+ln -s %{_libdir}/go/contrib/README-openSUSE 
%{buildroot}%{_datadir}/go/contrib/README-openSUSE
+
 # godoc service
 mkdir -p %{buildroot}%{_unitdir}
 install -Dm644 godoc.service %{buildroot}%{_unitdir}/godoc.service
@@ -217,16 +225,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
-%ifarch %ix86 %arm
-%{_libdir}/go/pkg/tool/linux_%{go_arch}/8*
-%endif
-%ifarch x86_64
-%{_libdir}/go/pkg/tool/linux_%{go_arch}/6*
-%endif
-%ifarch %arm
-%{_libdir}/go/pkg/tool/linux_%{go_arch}/5*
-%endif
+%doc AUTHORS CONTRIBUTORS LICENSE PATENTS README README-openSUSE
 %{_bindir}/go*
 %{_libdir}/go/
 %{_datadir}/go/

++ README-openSUSE ++
Updated: 05.05.2012
Authors: Graham Anderson, 


PROJECT DETAILS
---

OBS: https://build.opensuse.org/project/show?project=devel:languages:go

Maintainers: Sascha Peilicke (saschpe),
 Graham Anderson (andtecheu)

Wiki: http://en.opensuse.org/Go
  http://en.opensuse.org/openSUSE:Packaging_Go
  
 
GENERAL NOTES
-

Go toolchain environmental variables are configured via

commit go for openSUSE:Factory

2012-04-02 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-04-02 19:50:07

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-03-29 07:45:30.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-04-02 
19:53:03.0 +0200
@@ -1,0 +2,36 @@
+Mon Apr  2 09:37:12 UTC 2012 - sasc...@suse.de
+
+- Fixed some typos
+- Removed checks for outdated SUSE versions
+
+---
+Mon Apr  2 02:53:46 UTC 2012 - gra...@andtech.eu
+
+- update profile.d go.sh with $GOBIN for users
+
+---
+Mon Apr  2 02:21:51 UTC 2012 - gra...@andtech.eu
+
+- cmd/go - re-enable building from binary only packages
+  we are a binary distro and the last minue change to go clean -i
+  disabled building from third party binary packages. package management
+  will be done via yast/zypper anyway and not go clean.
+
+---
+Sat Mar 31 12:14:51 UTC 2012 - gra...@andtech.eu
+
+- change provides to match go release string as per VERSION file
+- fix %pre, %post etc godoc service statement
+
+---
+Fri Mar 30 15:21:31 UTC 2012 - gra...@andtech.eu
+
+- Export $GOBIN for the %gobuild() macro
+
+---
+Wed Mar 28 17:28:24 UTC 2012 - gra...@andtech.eu
+
+- Go version 1
+  http://golang.org/doc/go1.html
+
+---

Old:

  go-0.0.r60.3+hg20120322.tar.bz2

New:

  allow-binary-only-packages.patch
  go-1.0.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.lHA3P8/_old  2012-04-02 19:53:06.0 +0200
+++ /var/tmp/diff_new_pack.lHA3P8/_new  2012-04-02 19:53:06.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   go
-Version:0.0.r60.3+hg20120322
+Version:1.0
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -36,17 +36,23 @@
 Patch1: godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
 Patch3: go-build-dont-reinstall-stdlibs.patch
+# PATCH-FIX-OPENSUSE re-enable build binary only packages (we are binary 
distro)
+# see http://code.google.com/p/go/issues/detail?id=2775 & also issue 3268
+Patch4: allow-binary-only-packages.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  ed
 %if 0%{?suse_version} >= 1210
 BuildRequires:  systemd
 %endif
-%if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
 Recommends: go-doc
-%endif
-%define goversion weekly.2012-03-22
+# We need to manually specify the release version string here. All code 
compiled
+# with this package will have the release string specified by the VERSION file
+# in this source tarball baked into it, libs compiled with a different version
+# cannot be linked anyway so all library packages will depend on this version 
string.
+# the version string is pulled into the %godepends macro using the "go 
version" command.
+%define goversion go1
 Provides:   go = %{goversion}
 Provides:   go-devel = %{goversion}
 Provides:   go-devel-static = %{goversion}
@@ -101,6 +107,7 @@
 echo %{requiretest}
 %patch1 -p1
 %patch3 -p1
+%patch4 -p1
 cp %{SOURCE4} .
 cp %{SOURCE5} .
 
@@ -186,9 +193,7 @@
 # Disable brp-strip-static-archive breaks build
 %define __os_install_post %(echo '%{__os_install_post}' | sed -e 
's!/usr/lib/rpm/[^/]*/?brp-strip-static-archive %{__strip}!!g')
 
-%if 0%{?suse_version} > 1020
 %fdupes %{buildroot}%{_prefix}
-%endif
 
 %pre
 %if 0%{?suse_version} >= 1210
@@ -197,17 +202,17 @@
 
 %post
 %if 0%{?suse_version} >= 1210
-%service_add_pre godoc.service
+%service_add_post godoc.service
 %endif
 
 %preun
 %if 0%{?suse_version} >= 1210
-%service_add_pre godoc.service
+%service_del_preun godoc.service
 %endif
 
 %postun
 %if 0%{?suse_version} >= 1210
-%service_add_pre godoc.service
+%service_del_postun godoc.service
 %endif
 
 %files

++ VERSION ++
--- /var/tmp/diff_new_pack.lHA3P8/_old  2012-04-02 19:53:06.0 +0200
+++ /var/tmp/diff_new_pack.lHA3P8/_new  2012-04-02 19:53:06.0 +0200
@@ -1 +1 @@
-weekly.2012-03-22
+go1
\ No newline at end of file

++ allow-binary-only-packages.patch ++
diff --git a/src/cmd/go/pkg.go b/src/cmd/go/pkg.go
index 30bbfad..54d65f9 100644
--- a/src/cmd/go/

commit go for openSUSE:Factory

2012-03-28 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-03-29 07:42:20

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-03-22 12:32:44.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-03-29 
07:42:35.0 +0200
@@ -1,0 +2,7 @@
+Tue Mar 27 06:55:34 UTC 2012 - gra...@andtech.eu
+
+- Release candidate 2
+- Bug fixes and resolved issues
+  http://weekly.golang.org/doc/devel/weekly.html#2012-03-22
+
+---

Old:

  go-0.0.r60.3+hg20120313.tar.bz2

New:

  go-0.0.r60.3+hg20120322.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.917cY2/_old  2012-03-29 07:42:38.0 +0200
+++ /var/tmp/diff_new_pack.917cY2/_new  2012-03-29 07:42:38.0 +0200
@@ -17,9 +17,8 @@
 #
 
 
-
 Name:   go
-Version:0.0.r60.3+hg20120313
+Version:0.0.r60.3+hg20120322
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -47,7 +46,7 @@
 BuildRequires:  fdupes
 Recommends: go-doc
 %endif
-%define goversion weekly.2012-03-13
+%define goversion weekly.2012-03-22
 Provides:   go = %{goversion}
 Provides:   go-devel = %{goversion}
 Provides:   go-devel-static = %{goversion}

++ VERSION ++
--- /var/tmp/diff_new_pack.917cY2/_old  2012-03-29 07:42:38.0 +0200
+++ /var/tmp/diff_new_pack.917cY2/_new  2012-03-29 07:42:38.0 +0200
@@ -1 +1 @@
-weekly.2012-03-13
+weekly.2012-03-22

++ go-0.0.r60.3+hg20120313.tar.bz2 -> go-0.0.r60.3+hg20120322.tar.bz2 ++
/work/SRC/openSUSE:Factory/go/go-0.0.r60.3+hg20120313.tar.bz2 
/work/SRC/openSUSE:Factory/.go.new/go-0.0.r60.3+hg20120322.tar.bz2 differ: char 
11, line 1

++ go-build-dont-reinstall-stdlibs.patch ++
--- /var/tmp/diff_new_pack.917cY2/_old  2012-03-29 07:42:38.0 +0200
+++ /var/tmp/diff_new_pack.917cY2/_new  2012-03-29 07:42:38.0 +0200
@@ -1,8 +1,8 @@
 diff --git a/src/cmd/go/build.go b/src/cmd/go/build.go
-index cf249cd..56c540f 100644
+index 16177c1..5f98a68 100644
 --- a/src/cmd/go/build.go
 +++ b/src/cmd/go/build.go
-@@ -85,6 +85,7 @@ func init() {
+@@ -89,6 +89,7 @@ func init() {
  }
  
  // Flags set by multiple commands.
@@ -10,27 +10,26 @@
  var buildA bool   // -a flag
  var buildN bool   // -n flag
  var buildP = runtime.NumCPU() // -p flag
-@@ -101,6 +102,10 @@ var buildContext = build.Default
+@@ -137,6 +138,10 @@ func init() {
  // addBuildFlags adds the flags common to the build and install commands.
  func addBuildFlags(cmd *Command) {
// NOTE: If you add flags here, also add them to testflag.go.
-+  
++
 +  // OPENSUSE
 +  cmd.Flag.BoolVar(&buildS, "s", false, "")
 +
cmd.Flag.BoolVar(&buildA, "a", false, "")
cmd.Flag.BoolVar(&buildN, "n", false, "")
cmd.Flag.IntVar(&buildP, "p", buildP, "")
-@@ -714,6 +719,12 @@ func (b *builder) build(a *action) error {
+@@ -760,6 +765,11 @@ func (b *builder) build(a *action) (err error) {
  
  // install is the action for installing a single package or executable.
- func (b *builder) install(a *action) error {
-+
+ func (b *builder) install(a *action) (err error) {
 +  // OPENSUSE
 +  if buildS && (a.p.Standard || a.p.ImportPath == "cmd/cgo") {
 +  return nil
 +  }
 +
-   a1 := a.deps[0]
-   perm := os.FileMode(0666)
-   if a1.link {
+   defer func() {
+   if err != nil && err != errPrintedOutput {
+   err = fmt.Errorf("go install %s: %v", a.p.ImportPath, 
err)

++ godoc-path-locations.patch ++
--- /var/tmp/diff_new_pack.917cY2/_old  2012-03-29 07:42:38.0 +0200
+++ /var/tmp/diff_new_pack.917cY2/_new  2012-03-29 07:42:38.0 +0200
@@ -1,5 +1,5 @@
 diff --git a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go
-index b290e31..725c2b5 100644
+index 26814d2..c645604 100644
 --- a/src/cmd/godoc/godoc.go
 +++ b/src/cmd/godoc/godoc.go
 @@ -81,8 +81,16 @@ var (

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2012-03-22 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-03-22 12:32:28

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-03-08 19:42:56.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-03-22 
12:32:44.0 +0100
@@ -1,0 +2,18 @@
+Tue Mar 13 11:00:41 UTC 2012 - gra...@andtech.eu
+
+- No language changes
+- Initial Go 1 beta offering
+- Many bug fixes and resolved issues
+  http://weekly.golang.org/doc/devel/weekly.html#2012-03-13
+
+---
+Sat Mar 10 16:44:34 UTC 2012 - gra...@andtech.eu
+
+- Add additional Go vim scripts, tweak goversion macro
+
+---
+Fri Mar  9 13:22:32 UTC 2012 - gra...@andtech.eu
+
+- update spec and macro file to provide working requires
+
+---

Old:

  go-0.0.r60.3+hg20120304.tar.bz2

New:

  go-0.0.r60.3+hg20120313.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.WzRTL5/_old  2012-03-22 12:32:45.0 +0100
+++ /var/tmp/diff_new_pack.WzRTL5/_new  2012-03-22 12:32:45.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   go
-Version:0.0.r60.3+hg20120304
+Version:0.0.r60.3+hg20120313
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -47,10 +47,11 @@
 BuildRequires:  fdupes
 Recommends: go-doc
 %endif
-Provides:   libcgo = %{version}
-Provides:   go-devel-static = %{version}
-Provides:   go-devel = %{version}
-Obsoletes:  go-devel < %{version}
+%define goversion weekly.2012-03-13
+Provides:   go = %{goversion}
+Provides:   go-devel = %{goversion}
+Provides:   go-devel-static = %{goversion}
+Obsoletes:  go-devel < %{goversion}
 ExclusiveArch:  %ix86 x86_64 %arm
 # For godoc service
 %if 0%{?suse_version} >= 1210
@@ -98,6 +99,7 @@
 
 %prep
 %setup -q -n %{name}
+echo %{requiretest}
 %patch1 -p1
 %patch3 -p1
 cp %{SOURCE4} .
@@ -132,6 +134,12 @@
 install -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/go.sh
 install -Dm644 misc/emacs/go-mode-load.el 
%{buildroot}%{_datadir}/emacs/site-lisp/go-mode-load.el
 install -Dm644 misc/emacs/go-mode.el 
%{buildroot}%{_datadir}/emacs/site-lisp/go-mode.el
+install -Dm644 misc/vim/autoload/go/complete.vim 
%{buildroot}%{_datadir}/vim/site/autoload/go/complete.vim
+install -d %{buildroot}%{_datadir}/vim/site/ftplugin/go
+install -Dm644 misc/vim/ftplugin/go/{fmt,godoc,import}.vim 
%{buildroot}%{_datadir}/vim/site/ftplugin/go/
+install -Dm644 misc/vim/indent/go.vim 
%{buildroot}%{_datadir}/vim/site/indent/go.vim
+install -Dm644 misc/vim/plugin/godoc.vim 
%{buildroot}%{_datadir}/vim/site/plugin/godoc.vim
+install -Dm644 misc/vim/syntax/godoc.vim 
%{buildroot}%{_datadir}/vim/site/syntax/godoc.vim
 install -Dm644 misc/vim/syntax/go.vim 
%{buildroot}%{_datadir}/vim/site/syntax/go.vim
 install -Dm644 misc/vim/ftdetect/gofiletype.vim 
%{buildroot}%{_datadir}/vim/site/ftdetect/gofiletype.vim
 install -Dm644 misc/kate/go.xml 
%{buildroot}%{_datadir}/kde4/apps/katepart/syntax/go.xml
@@ -183,25 +191,26 @@
 %fdupes %{buildroot}%{_prefix}
 %endif
 
-
 %pre
 %if 0%{?suse_version} >= 1210
 %service_add_pre godoc.service
 %endif
+
 %post
 %if 0%{?suse_version} >= 1210
 %service_add_pre godoc.service
 %endif
+
 %preun
 %if 0%{?suse_version} >= 1210
 %service_add_pre godoc.service
 %endif
+
 %postun
 %if 0%{?suse_version} >= 1210
 %service_add_pre godoc.service
 %endif
 
-
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CONTRIBUTORS LICENSE PATENTS README
@@ -230,7 +239,8 @@
 
 %files vim
 %defattr(-,root,root,-)
-%{_datadir}/vim
+%dir %{_datadir}/vim
+%{_datadir}/vim/*
 
 %files emacs
 %defattr(-,root,root,-)

++ VERSION ++
--- /var/tmp/diff_new_pack.WzRTL5/_old  2012-03-22 12:32:45.0 +0100
+++ /var/tmp/diff_new_pack.WzRTL5/_new  2012-03-22 12:32:45.0 +0100
@@ -1 +1 @@
-weekly.2012-03-04 +f4470a54e6db
\ No newline at end of file
+weekly.2012-03-13

++ go-0.0.r60.3+hg20120304.tar.bz2 -> go-0.0.r60.3+hg20120313.tar.bz2 ++
/work/SRC/openSUSE:Factory/go/go-0.0.r60.3+hg20120304.tar.bz2 
/work/SRC/openSUSE:Factory/.go.new/go-0.0.r60.3+hg20120313.tar.bz2 differ: char 
11, line 1

++ macros.go ++
--- /var/tmp/diff_new_pack.WzRTL5/_old  2012-03-22 12:32:46.0 +0100
+++ /var/tmp/diff_new_pack.WzRTL5/_new  2012-03-22 12:32:46.0 +0100
@@ -5,12 +5,13 @@
 
 %go_ver %(LC_ALL=C rpm -q --qf '%%{e

commit go for openSUSE:Factory

2012-03-08 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-03-08 19:42:54

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-02-14 11:24:13.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-03-08 
19:42:56.0 +0100
@@ -1,0 +2,48 @@
+Wed Mar  7 06:12:58 UTC 2012 - gra...@andtech.eu
+
+- update gotest/gofix macro
+
+---
+Tue Mar  6 04:20:18 UTC 2012 - gra...@andtech.eu
+
+- Update godoc & go build patches
+- removed dwarf pretty printer patch
+- add godoc systemd service file
+
+---
+Mon Mar  5 05:34:19 UTC 2012 - gra...@andtech.eu
+
+- Update to weekly.2012-03-04
+- Changes to go/build required code refactoring
+  see: http://weekly.golang.org/doc/devel/weekly.html#2012-03-04
+
+---
+Fri Feb 24 01:03:28 UTC 2012 - gra...@andtech.eu
+
+- Wpdate to weekly.2012-02-22
+- Some BC breaks and language changes, too many details to list
+  see release announcement:
+  http://weekly.golang.org/doc/devel/weekly.html#2012-02-22
+ 
+---
+Fri Feb 17 14:30:55 UTC 2012 - gra...@andtech.eu
+
+- cmd/gc: fix comparison of struct with _ field
+  fixes build of go-go-gtk and other packages that use cgo
+
+---
+Fri Feb 17 12:54:32 UTC 2012 - gra...@andtech.eu
+
+- Update to tip @ 2012.02017
+- sync: say that Cond.Wait can not return spuriously
+- runtime: Permit default behaviour of SIGTSTP, SIGTTIN, SIGTTOU
+- cmd/gc: correctly typecheck expression lists in returns
+- syscall: fix bounds check in Error
+
+---
+Thu Feb 16 14:54:41 UTC 2012 - gra...@andtech.eu
+
+- Update to weekly.2012-02-12
+  http://weekly.golang.org/doc/devel/weekly.html#2012-02-12 
+
+---

Old:

  gdb-printer.patch
  go-0.0.r60.3+hg20120207.tar.bz2
  go-godoc-path-locations.patch
  go-install-dont-rebuild-std-packages.patch

New:

  go-0.0.r60.3+hg20120304.tar.bz2
  go-build-dont-reinstall-stdlibs.patch
  godoc-path-locations.patch
  godoc.service



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.oqD00U/_old  2012-03-08 19:42:59.0 +0100
+++ /var/tmp/diff_new_pack.oqD00U/_new  2012-03-08 19:42:59.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   go
-Version:0.0.r60.3+hg20120207
+Version:0.0.r60.3+hg20120304
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -32,16 +32,17 @@
 # This file is otherwise generated at build-time from the .hg directory, which 
was
 # stripped from the tarball to save space. TODO: Update contents after version 
update!
 Source4:VERSION
-# PATCH-FIX-OPENSUSE adjust documentation paths
-Patch1: go-godoc-path-locations.patch
-# PATCH-FIX-OPENSUSE set correct location of gdb pretty printer
-Patch2: gdb-printer.patch
+Source5:godoc.service
+# PATCH-FIX-OPENSUSE adjust documentation paths for API/doc server
+Patch1: godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
-Patch3: go-install-dont-rebuild-std-packages.patch
+Patch3: go-build-dont-reinstall-stdlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  ed
-BuildRequires:  mercurial
+%if 0%{?suse_version} >= 1210
+BuildRequires:  systemd
+%endif
 %if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
 Recommends: go-doc
@@ -51,6 +52,10 @@
 Provides:   go-devel = %{version}
 Obsoletes:  go-devel < %{version}
 ExclusiveArch:  %ix86 x86_64 %arm
+# For godoc service
+%if 0%{?suse_version} >= 1210
+%systemd_requires
+%endif
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -93,11 +98,10 @@
 
 %prep
 %setup -q -n %{name}
-echo %{url}
 %patch1 -p1
-#%%patch2 -p1
 %patch3 -p1
 cp %{SOURCE4} .
+cp %{SOURCE5} .
 
 # setup go_arch (BSD-like scheme)
 %ifarch %ix86
@@ -113,19 +117,14 @@
 %define go_arch arm
 %endif
 
-# let the DWARF emitter add correct path to the go pretty printer
-%define gdb_printer %{_libdir}/go/pkg/linux_%{go_arch}/runtime/runtime-gdb.py
-
 %build
-
 export GOROOT="`pwd`"
+export GOROOT_FINAL=%{_libdir}/go
 export GOB

commit go for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-02-14 11:24:10

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-01-25 11:08:01.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-02-14 
11:24:13.0 +0100
@@ -1,0 +2,75 @@
+Wed Feb  8 09:00:41 UTC 2012 - gra...@andtech.eu
+
+This weekly snapshot includes a re-organization of the Go tools.
+
+Only the go, godoc, and gofmt tools are installed to $GOROOT/bin (or $GOBIN).
+The remainder are installed to $GOROOT/bin/tool.
+This puts the lesser-used tools (6g, cgo, govet, etc.) outside the user PATH.
+Instead these tools may be called through the go tool with 'go tool command'.
+For example, to vet hello.go you would type 'go tool vet hello.go'.
+Type 'go tool' see the list of available tools.
+
+With the move, some tools were given simpler names:
+   6cov-> cov
+   6nm -> nm
+   goapi   -> api
+   gofix   -> fix
+   gopack  -> pack
+   gopprof -> pprof
+   govet   -> vet
+   goyacc  -> yacc
+
+The os/signal package has been moved toexp/signal.
+
+A new tool named 'dist'has been introduced to  handle building the gc
+tool chain and to bootstrap the go tool. The old build scripts and make
+files have been removed.
+
+Full list of changes and fixes available:
+http://weekly.golang.org/doc/devel/weekly.html#2012-02-07
+
+---
+Mon Feb  6 12:21:45 UTC 2012 - sasc...@suse.de
+
+- Satisfy Factory-Auto (only comment out %path, not Patch)
+
+---
+Sun Feb  5 07:24:02 UTC 2012 - gra...@andtech.eu
+
+- Update to latest tip
+- Now use cmd/dist to build toolchain, build scripts are removed
+  build process is now as follows.
+
+  build cmd/dist C based bootstrap tool
+-> compile C based compilers and Go based bootstrap tool 
+ -> compile Go based core commands and libraries
+
+- Remove patch that affects, cmd/go/{build,pkg}.go , this command
+  is under active development and building against binary installs
+  is slated to be included before Go1 release.
+
+---
+Tue Jan 31 09:28:58 UTC 2012 - gra...@andtech.eu
+
+- Patch: quick hack to try and get packages building against third
+  party libs if they are installed as binary archives without source
+- Update some spec file entries for changing $GOROOT layout, mainly
+  $GOROOT/bin/go-tools
+- Add $GOBIN back for now
+
+---
+Mon Jan 30 09:50:09 UTC 2012 - gra...@andtech.eu
+
+- spec tweaks, use default locations for go tooling
+  (compilers, linkers, cgo etc all in $GOROOT now)
+- remove $GOBIN from /etc/profile.d/go.sh
+
+---
+Fri Jan 27 10:30:00 UTC 2012 - gra...@andtech.eu
+
+- Update to weekly.2012-01-27
+- renamed the html package to exp/html
+- Many fixes:
+  - * http://weekly.golang.org/doc/devel/weekly.html#2012-01-27
+
+---

Old:

  go-0.0.r60.3+hg20120120.tar.bz2
  go-set-make-cmd-install-path-to-gobin.patch

New:

  go-0.0.r60.3+hg20120207.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.TQdJep/_old  2012-02-14 11:24:16.0 +0100
+++ /var/tmp/diff_new_pack.TQdJep/_new  2012-02-14 11:24:16.0 +0100
@@ -19,7 +19,7 @@
 
 
 Name:   go
-Version:0.0.r60.3+hg20120120
+Version:0.0.r60.3+hg20120207
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -36,10 +36,8 @@
 Patch1: go-godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE set correct location of gdb pretty printer
 Patch2: gdb-printer.patch
-# PATCH-FIX-OPENSUSE set correct install path (GOBIN) for Make.cmd
-Patch3: go-set-make-cmd-install-path-to-gobin.patch
-# PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild std libs)
-Patch4: go-install-dont-rebuild-std-packages.patch
+# PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild/install std 
libs)
+Patch3: go-install-dont-rebuild-std-packages.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  ed
@@ -97,9 +95,8 @@
 %setup -q -n %{name}
 echo %{url}
 %patch1 -p1
-%patch2 -p1
+#%%patch2 -p1
 %patch3 -p1
-%patch4 -p1
 cp %{SOURCE4} .
 
 # setup go_arch (

commit go for openSUSE:Factory

2012-01-25 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-01-25 11:07:46

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2012-01-19 09:41:45.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-01-25 
11:08:01.0 +0100
@@ -1,0 +2,29 @@
+Tue Jan 24 17:28:14 UTC 2012 - gra...@andtech.eu
+
+- Add %goinstall() macro for new go tool
+- Update godoc path locations patch
+- Update go install patch (fixes building packages with "go install")
+
+- Update to weekly.2012-01-20
+- The image package's Tiled type has been renamed to Repeated.
+- The encoding/xml package has been changed to make more idiomatic 
+  use of struct tags, among other things. If you use the xml package
+  please read the change description to see if your code is affected:
+   http://code.google.com/p/go/source/detail?r=70e914beb409
+- exp/sql package to database/sql
+- Package net's SetTimeout methods were changed to SetDeadline.
+- Many functions in package os now take a os.FileMode argument instead
+  of a plain uint32. An os.ModeSticky constant is also now defined.
+- The meaning of the first buffer element for image.YCbCr has changed to
+  match the semantics of the other image types like image.RGBA.
+- The NewMD5, NewSHA1 and NewSHA256 functions in crypto/hmac have been
+  deprecated. Use New instead, explicitly passing the hash function.
+
+---
+Fri Dec 30 06:12:26 UTC 2011 - gra...@andtech.eu
+
+- Patch new "go install" to allow -s option
+  This prevents rebuild/reinstall of std libs and allows packages
+  to be installed into a users $GOPATH
+
+---

Old:

  go-0.0.r60.3+hg20111222.tar.bz2

New:

  go-0.0.r60.3+hg20120120.tar.bz2
  go-install-dont-rebuild-std-packages.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.aZUs6O/_old  2012-01-25 11:08:03.0 +0100
+++ /var/tmp/diff_new_pack.aZUs6O/_new  2012-01-25 11:08:03.0 +0100
@@ -16,8 +16,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+
 Name:   go
-Version:0.0.r60.3+hg20111222
+Version:0.0.r60.3+hg20120120
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 License:BSD-3-Clause
@@ -36,6 +38,8 @@
 Patch2: gdb-printer.patch
 # PATCH-FIX-OPENSUSE set correct install path (GOBIN) for Make.cmd
 Patch3: go-set-make-cmd-install-path-to-gobin.patch
+# PATCH-FIX-OPENSUSE add -s flag to 'go install' (don't rebuild std libs)
+Patch4: go-install-dont-rebuild-std-packages.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  ed
@@ -91,9 +95,11 @@
 
 %prep
 %setup -q -n %{name}
+echo %{url}
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)
@@ -156,6 +162,8 @@
 for ext in *.{go,c,h}; do
   find src -name ${ext} -exec install -Dm644 \{\} 
%{buildroot}%{_datadir}/go/\{\} \;
 done
+ln -s /usr/share/go/src/pkg $GOROOT/src/pkg
+ln -s /usr/share/go/src/cmd $GOROOT/src/cmd
 
 # replace $GOROOT in several scripts
 sed -i 's|GOROOT=.*$|GOROOT=%{_libdir}/go|g' %{buildroot}%{_bindir}/gomake

++ VERSION ++
--- /var/tmp/diff_new_pack.aZUs6O/_old  2012-01-25 11:08:03.0 +0100
+++ /var/tmp/diff_new_pack.aZUs6O/_new  2012-01-25 11:08:03.0 +0100
@@ -1 +1 @@
-weekly.2011-12-22 10879
+weekly.2012-01-15 f690897afe60

++ go-0.0.r60.3+hg20111222.tar.bz2 -> go-0.0.r60.3+hg20120120.tar.bz2 ++
/work/SRC/openSUSE:Factory/go/go-0.0.r60.3+hg20111222.tar.bz2 
/work/SRC/openSUSE:Factory/.go.new/go-0.0.r60.3+hg20120120.tar.bz2 differ: char 
11, line 1

++ go-godoc-path-locations.patch ++
--- /var/tmp/diff_new_pack.aZUs6O/_old  2012-01-25 11:08:03.0 +0100
+++ /var/tmp/diff_new_pack.aZUs6O/_new  2012-01-25 11:08:03.0 +0100
@@ -1,10 +1,11 @@
-diff -ru a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go
 a/src/cmd/godoc/godoc.go   2011-09-22 10:15:24.0 +0200
-+++ b/src/cmd/godoc/godoc.go   2011-09-22 10:25:35.697267470 +0200
-@@ -80,6 +80,11 @@
+diff --git a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go
+--- a/src/cmd/godoc/godoc.go
 b/src/cmd/godoc/godoc.go
+@@ -88,6 +88,12 @@
pkgHandler httpHandler
  )
  
++// OPENSUSE-PATCHFIX-GODOC-LOCATIONS
 +const (
 +  docroot = "/usr/share/doc/packages/go-doc/doc"
 +  srcroot = "/usr/share/go/"
@@ -13,7 +14,7 @@
  func initHandl

commit go for openSUSE:Factory

2012-01-19 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2012-01-19 09:41:42

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2011-12-09 09:31:45.0 
+0100
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2012-01-19 
09:41:45.0 +0100
@@ -1,0 +2,35 @@
+Fri Dec 23 13:02:09 UTC 2011 - gra...@andtech.eu
+
+- Update to weekly.2011.12.22
+- changes to the images/ycbcr and testing packages
+  * "gofix" required for code using images/ycbr
+  * Testing package "B" (benchmark) type now has same methods as "T" 
+- Compiler inlining: Enabled in .spec as "export GCFLAGS=-l"
+  * Needs to be explicitly enabled at compile time with the above
+flag or using the "-l" compiler flag
+- Initial implementation of 'go' command utility
+- Many fixes and updates
+  * http://weekly.golang.org/doc/devel/weekly.html#2011-12-22
+
+---
+Fri Dec 16 10:03:38 CET 2011 - dmuel...@suse.de
+
+- fix exclusivearch for %%arm
+- fix filelist for %%arm
+
+---
+Tue Dec 13 14:54:16 UTC 2011 - sasc...@suse.de
+
+- Use $GOBIN as install target directory for binaries (Make.cmd)
+  regardless of $TARGDIR (Second part of bnc#735320)
+
+---
+Tue Dec 13 14:06:38 UTC 2011 - sasc...@suse.de
+
+- Improve macros %go_make, %go_make_test and %go_make_install:
+  * Set TARGDIR and GOBIN all macros (bnc#735320)
+  * Make sure %{buildroot}%{_bindir} exists in any case
+- The above should simplify spec files for Go packages that use, .e.g.,
+  'make tools' to install additional stuff (like binaries)
+
+---

Old:

  go-0.0.r60.3+hg20111205.tar.bz2

New:

  go-0.0.r60.3+hg20111222.tar.bz2
  go-set-make-cmd-install-path-to-gobin.patch



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.OaYRYE/_old  2012-01-19 09:41:47.0 +0100
+++ /var/tmp/diff_new_pack.OaYRYE/_new  2012-01-19 09:41:47.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package go
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -16,14 +16,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:   go
-Version:0.0.r60.3+hg20111205
+Version:0.0.r60.3+hg20111222
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
-Group:  Development/Languages/Other
 License:BSD-3-Clause
+Group:  Development/Languages/Other
 Url:http://golang.org
 Source0:go-%{version}.tar.bz2
 Source1:rpmlintrc
@@ -36,9 +34,11 @@
 Patch1: go-godoc-path-locations.patch
 # PATCH-FIX-OPENSUSE set correct location of gdb pretty printer
 Patch2: gdb-printer.patch
+# PATCH-FIX-OPENSUSE set correct install path (GOBIN) for Make.cmd
+Patch3: go-set-make-cmd-install-path-to-gobin.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ed
 BuildRequires:  bison
+BuildRequires:  ed
 BuildRequires:  mercurial
 %if 0%{?suse_version} > 1020
 BuildRequires:  fdupes
@@ -48,7 +48,7 @@
 Provides:   go-devel-static = %{version}
 Provides:   go-devel = %{version}
 Obsoletes:  go-devel < %{version}
-ExclusiveArch:  %ix86 x86_64 arm
+ExclusiveArch:  %ix86 x86_64 %arm
 
 %description
 Go is an expressive, concurrent, garbage collected systems programming language
@@ -93,6 +93,7 @@
 %setup -q -n %{name}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 cp %{SOURCE4} .
 
 # setup go_arch (BSD-like scheme)
@@ -121,6 +122,8 @@
 mkdir -p "$GOBIN"
 cd src
 export GDB_PRINTER="%{gdb_printer}"
+# enable compiler inlining
+export GCFLAGS=-l
 HOST_EXTRA_CFLAGS="%{optflags} -Wno-error -D GDB_PRINTER='\"$GDB_PRINTER\"'" 
./make.bash
 
 %install
@@ -135,6 +138,14 @@
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sbindir}
 cp -r bin/* %{buildroot}%{_bindir}
+# all C compilers are now built for generated files, remove them for other 
archs
+rm %{buildroot}%{_bindir}/5c
+%ifarch %ix86
+rm %{buildroot}%{_bindir}/6c
+%endif
+%ifarch x86_64
+rm %{buildroot}%{_bindir}/8c
+%endif
 mv %{buildroot}%{_bindir}/goinstall %{buildroot}%{_sbindir}/goinstall
 rm -f %{buildroot}%{_bindir}/{hgpatch,quietgcc}
 mkdir -p $GOROOT/src
@@ -186,10

commit go for openSUSE:Factory

2011-12-09 Thread h_root
Hello community,

here is the log from the commit of package go for openSUSE:Factory checked in 
at 2011-12-09 09:31:42

Comparing /work/SRC/openSUSE:Factory/go (Old)
 and  /work/SRC/openSUSE:Factory/.go.new (New)


Package is "go", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/go/go.changes2011-10-19 14:08:19.0 
+0200
+++ /work/SRC/openSUSE:Factory/.go.new/go.changes   2011-12-09 
09:31:45.0 +0100
@@ -1,0 +2,30 @@
+Wed Dec  7 00:01:59 UTC 2011 - dmacvi...@suse.de
+
+- Set GOBIN correctly in Make.inc to point to _bindir instead
+  of GOROOT/bin (bnc#735288)
+
+---
+Mon Dec  5 16:00:15 UTC 2011 - sasc...@suse.de
+
+- Forgot to update VERSION file
+
+---
+Mon Dec  5 15:54:30 UTC 2011 - sasc...@suse.de
+
+- Update to 05/12/2011 mercurial version:
+  * No big changes
+
+---
+Fri Dec  2 13:20:34 UTC 2011 - sasc...@suse.de
+
+- Update to r60.3 + weekly.2011-12-02:
+  * crypto/tls: cleanup certificate load on windows
+  * exp/ssh: add Std{in,out,err}Pipe methods to Session
+  * dashboard: don't choke on weird builder names.
+  * exp/ssh: export type signal, now Signal
+  * os: add ModeType constant to mask file type bits
+  * text/template: replace Add with AddParseTree.
+  * go/doc: detect headings and format them in html
+- For more see http://golang.org/doc/devel/weekly.html
+
+---

Old:

  go-0.0.r60.3+hg20111018.tar.bz2

New:

  go-0.0.r60.3+hg20111205.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.8jw91A/_old  2011-12-09 09:31:47.0 +0100
+++ /var/tmp/diff_new_pack.8jw91A/_new  2011-12-09 09:31:47.0 +0100
@@ -1,4 +1,7 @@
 #
+# spec file for package go
+#
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2011, Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -10,13 +13,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+
 Name:   go
-Version:0.0.r60.3+hg20111018
+Version:0.0.r60.3+hg20111205
 Release:0
 Summary:A compiled, garbage-collected, concurrent programming language
 Group:  Development/Languages/Other
 License:BSD-3-Clause
-URL:http://golang.org
+Url:http://golang.org
 Source0:go-%{version}.tar.bz2
 Source1:rpmlintrc
 Source2:go.sh
@@ -105,6 +113,9 @@
 %define gdb_printer %{_libdir}/go/pkg/linux_%{go_arch}/runtime/runtime-gdb.py
 
 %build
+# Fix GOBIN so that the compiler is not searched in GOROOT/bin
+sed -i 's,^GOBIN=.*$,GOBIN=%{_bindir},g' src/Make.inc
+
 export GOROOT="`pwd`"
 export GOBIN="$GOROOT/bin"
 mkdir -p "$GOBIN"
@@ -137,7 +148,6 @@
 
 # replace $GOROOT in several scripts
 sed -i 's|GOROOT=.*$|GOROOT=%{_libdir}/go|g' %{buildroot}%{_bindir}/gomake
-sed -i 's|GOROOT=.*$|GOROOT=%{_libdir}/go|g' %{buildroot}%{_bindir}/gotry
 
 install -Dm644 lib/{lib9.a,libbio.a,libmach.a} %{buildroot}%{_libdir}
 cp -r lib/godoc $GOROOT/lib
@@ -151,7 +161,7 @@
 rm -rf misc/cgo/test/{_*,*.o,*.out,*.6,*.8}
 rm -f misc/dashboard/builder/{gobuilder,*6,*.8}
 rm -f misc/goplay/{goplay,*.6,*.8}
-rm misc/swig/{callback/run,stdio/hello}
+rm -rf misc/windows
 rm -rf misc/cgo/test/{_*,*.o,*.out,*.6,*.8}
 # fix bnc#686557, contains image licensed under non-commercial license
 rm doc/talks/go_talk-20091030.pdf

++ VERSION ++
--- /var/tmp/diff_new_pack.8jw91A/_old  2011-12-09 09:31:47.0 +0100
+++ /var/tmp/diff_new_pack.8jw91A/_new  2011-12-09 09:31:47.0 +0100
@@ -1 +1 @@
-release.r60.3 10091
+weekly.2011-12-02 10684

++ go-0.0.r60.3+hg20111018.tar.bz2 -> go-0.0.r60.3+hg20111205.tar.bz2 ++
/work/SRC/openSUSE:Factory/go/go-0.0.r60.3+hg20111018.tar.bz2 
/work/SRC/openSUSE:Factory/.go.new/go-0.0.r60.3+hg20111205.tar.bz2 differ: char 
11, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2011-10-06 Thread h_root

Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Fri Oct 7 00:47:13 CEST 2011.




--- openSUSE:Factory/go/go.changes  2011-09-23 02:01:29.0 +0200
+++ go/go.changes   2011-10-06 10:16:44.0 +0200
@@ -1,0 +2,115 @@
+Thu Oct  6 08:14:24 UTC 2011 - gra...@andtech.eu
+
+- Update to r60.2
+- Fixes memory leak in certain map types
+
+---
+Wed Oct  5 14:34:10 UTC 2011 - gra...@andtech.eu
+
+- Tweaks for gdb debugging
+- go.spec changes:
+  - move %go_arch definition to %prep section
+  - pass correct location of go specific gdb pretty printer and
+functions to cpp as HOST_EXTRA_CFLAGS macro
+  - install go gdb functions & printer
+- gdb-printer.patch
+  - patch linker (src/cmd/ld/dwarf.c) to emit correct location of go
+gdb functions and pretty printer
+
+---
+Tue Sep 27 08:57:23 UTC 2011 - sasc...@suse.de
+
+- Add file 'VERSION' which is otherwise generated at runtime to fix
+  building
+
+---
+Fri Sep  2 08:59:17 UTC 2011 - sasc...@suse.de
+
+- Update to weekly.2001-09-01 version
+  * archive/tar: support symlinks.
+  * big: fix nat.scan bug. (thanks Evan Shaw)
+  * bufio: handle a "\r\n" that straddles the buffer. add openbsd. avoid
+redundant bss declarations. fix unused parameters. fix windows/amd64
+build with newest mingw-w64.
+  * bytes: clarify that NewBuffer is not for beginners.
+  * cgo: explain how to free something. fix GoBytes. fixes callback for windows
+amd64. note that CString result must be freed.
+  * effective_go: convert to use tmpltohtml.
+  * exp/norm: reduced the size of the byte buffer used by reorderBuffer
+by half by reusing space when combining. a few minor fixes to support the
+implementation of norm. added implementation for []byte versions of 
methods.
+  * exp/template/html: add some tests for ">" attributes. added handling for 
URL
+attributes. differentiate URL-valued attributes (such as href). reworked
+escapeText to recognize attr boundaries.
+  * exp/template: moved from exp to the main tree.
+  * exp/wingui: made compatible with windows/amd64.
+  * flag: add Parsed, restore Usage.
+  * gc: add openbsd. escape analysis. fix build on Plan 9. fix div bug. fix
+pc/line table. fix some spurious leaks. make static initialization more
+static. remove JCXZ; add JCXZW, JCXZL, and JCXZQ instructions. shuffle 
+#includes. simplify escape analysis recursion.
+  * go/ast cleanup: base File/PackageExports on FilterFile/FilterPackage code.
+adjustments to filter function. fix ast.MergePackageFiles to collect infos
+about imports. generalize ast.FilterFile.
+  * go/build: add test support & use in gotest. separate test imports out when 
scanning.
+  * go/parser: fix type switch scoping. fix type switch scoping.
+  * gob: explain that Debug isn't useful unless it's compiled in.
+  * gobuilder: increase log limit.
+  * godashboard: fix utf-8 in user names.
+  * godoc: first step towards reducing index size. add dummy playground.js to
+silence godoc warning at start-up. added systematic throttling to indexing
+goroutine. fix bug in zip.go. support for reading/writing (splitted) index
+files. use virtual file system when generating package synopses.
+  * gofix: forgot to rename the URL type. osopen: fixed=true when changing 
O_CREAT.
+  * goinstall: error out with paths that end with '/'. report lack of $GOPATH
+on errors. select the tag that is closest to runtime.Version.
+  * http: add MaxBytesReader to limit request body size. add file protocol
+transport. adjust test threshold for larger suse buffers. delete error
+kludge. on invalid request, send 400 response. return 413 instead of 400
+when the request body is too large. support setting Transport's TLS client
+config.
+  * image/tiff: add a decode benchmark. decoder optimization.
+  * image: add PalettedImage interface, and make image/png recognize it.
+  * io: add TeeReader.
+  * json: add struct tag option to wrap literals in strings.
+  calculate Offset for Indent correctly.
+  fix decode bug with struct tag names with ,opts being ignored.
+  * ld: handle Plan 9 ar format. remove duplicate bss definitions.
+  * libmach: support reading symbols from Windows .exe for nm.
+  * math: fix Pow10 loop. (thanks Volker Dobler)
+  * mime: ParseMediaType returns os.Error now, not a nil map. media type
+formatter. text charset defaults.
+  * misc/dashboard: remove limit for json package list.
+  * misc/emacs: refine label detection.
+  * net: add ParseMAC function. change the internal form of IPMask for IPv4.
+disable "tcp" test on openbsd. fix windows build. join and leave a IPv6
+group address, on a specific interface. make use of IPv4len, IPv6len.
+move inte

commit go for openSUSE:Factory

2011-08-04 Thread h_root

Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Thu Aug 4 14:54:21 CEST 2011.




--- go/go.changes   2011-06-24 23:41:43.0 +0200
+++ go/go.changes   2011-08-02 10:19:31.0 +0200
@@ -1,0 +2,85 @@
+Tue Aug  2 07:47:10 UTC 2011 - sasc...@gmx.de
+
+- Update to release r59:
+  * Restricted usage of goto statement
+  * Package reflect supports a new struct tag scheme that enables sharing of
+struct tags between multiple packages.
+  * Package sort's IntArray type has been renamed to IntSlice, and similarly
+for Float64Slice and StringSlice
+  * Package strings's Split function has itself been split into Split and
+SplitN. SplitN is the same as the old Split. The new Split is equivalent
+to SplitN with a final argument of -1. 
+  * Goinstall now installs packages and commands from arbitrary remote
+repositories (not just Google Code, Github, and so on). See the goinstall
+documentation for details. 
+  More at http://golang.org/doc/devel/release.html#r59
+
+---
+Wed Jul 20 18:14:05 UTC 2011 - sasc...@gmx.de
+
+- Update to 2011-07-20 mercurial version:
+  * ELF section header overlap fixed, GNU strip doesn't break binaries
+anymore
+
+---
+Wed Jul 20 08:10:44 UTC 2011 - sasc...@suse.de
+
+- Update to weekly.2011-07-19 mercurial version:
+  * archive/zip: add Writer, add Mtime_ns function to get modified time in
+sensible format.
+  * cgi: close stdout reader pipe when finished.
+  * cgo: add missing semicolon in generated struct,
+  * codereview: fix for Mercurial 1.9.
+  * dashboard: list "most installed this week" with rolling count.
+  * debug/elf: read ELF Program headers.
+  * debug/proc: remove unused package.
+  * doc/talks/io2010: update with gofix and handle the errors.
+  * exp/eval, exp/ogle: remove packages eval and ogle.
+  * exp/regexp/syntax: add Prog.NumCap.
+  * exp/template: API changes, bug fixes, and tweaks.
+  * flag: make -help nicer.
+  * fmt: Scan(&int) was mishandling a lone digit.
+  * gc: fix closure bug, fix to build with clang, make size of struct{} and
+[0]byte 0 bytes , some enhancements to printing debug info.
+  * gif: fix local color map and coordinates.
+  * go/build: include processing of .c files for cgo packages, less aggressive
+failure when GOROOT not found.
+  * go/printer: changed max. number of newlines from 3 to 2.
+  * gob: register more slice types
+  * godoc: support for file systems stored in .zip files.
+  * hash/crc32: add SSE4.2 support.
+  * html: update section references in comments to the latest HTML5 spec.
+  * http: drain the pipe output in TestHandlerPanic to avoid logging deadlock,
+fix Content-Type of file extension, implement http.FileSystem for zip 
files,
+let FileServer work when path doesn't begin with a slash, support for
+periodic flushing in ReverseProxy.
+  * image/draw: add benchmarks.
+  * json: add omitempty struct tag option, allow using '$' and '-' as the 
struct
+field's tag encode \r and \n in strings as e.g. "\n", not "\u000A" escape 
+< and > in any JSON string for XSS prevention.
+  * ld: allow seek within write buffer< add a PT_LOAD PHDR entry for the PHDR
+  * os: plan9: add Process.Signal as a way to send notes
+  * os: don't permit Process.Signal after a successful Wait.
+  * reflect: add Value.NumMethod, panic if Method index is out of range for a
+type.
+  * runtime: faster entersyscall, exitsyscall, fix panic for make(chan 
[0]byte),
+fix subtle select bug, make TestSideEffectOrder work twice, several
+parallelism-related optimizations and fixes, string-related optimizations,
+track running goroutine count.
+  * strconv: handle [-+]Infinity in atof.
+  * sync: add fast paths to WaitGroup, improve RWMutex performance.
+  * syscall: add Flock on Linux, parse and encode SCM_RIGHTS and 
SCM_CREDENTIALS
+  More at http://golang.org/doc/devel/release.html#r58.1
+
+---
+Sun Jul 10 14:09:02 UTC 2011 - sasc...@gmx.de
+
+- Update to 2011/07/10 mercurial version (post r58 and weekly.2011-07-07):
+  * Package exec has been redesigned with a more convenient and succinct API.
+  * Package os/signal's Signal and UnixSignal types have been moved 
+to the os package.
+  * Package image/draw is the new name for exp/draw. The GUI-related
+code from exp/draw is now located in the exp/gui package.
+  More at http://golang.org/doc/devel/release.html#r58
+
+---

calling whatdependson for head-i586


Old:

  go-0.0.r57.1+hg20110624.tar.bz2

New:

  go-0.0.r59.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.Bpw

commit go for openSUSE:Factory

2011-06-30 Thread h_root

Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Thu Jun 30 16:37:33 CEST 2011.




--- go/go.changes   2011-05-23 12:33:43.0 +0200
+++ go/go.changes   2011-06-24 23:41:43.0 +0200
@@ -1,0 +2,73 @@
+Fri Jun 24 21:41:27 UTC 2011 - sasc...@gmx.de
+
+- No need to set $PATH before building anymore
+
+---
+Fri Jun 24 21:17:16 UTC 2011 - sasc...@gmx.de
+
+- DISABLE_NET_TESTS was dropped, this causes net tests to fail
+  on openSUSE:Factory currently. Disable tests temporarily.
+
+---
+Fri Jun 24 13:39:31 UTC 2011 - sasc...@suse.de
+
+- Update to 24/06/2011 mercurial version
+  * http: buffer Request.Write (issue 1996)
+  * libmach: fix disassembly of FCMOVcc and FCOMI
+  * libmach: fix tracing on linux (for cov)
+  * ld: don't attempt to build dynamic sections unnecessarily
+  * syscall: add tty support to StartProcess
+  * crypto/openpgp: add ElGamal support
+  * http: add Server.ListenAndServeTLS (issue 1964)
+
+---
+Thu Jun 16 06:44:04 UTC 2011 - sasc...@suse.de
+
+- %go_requires can't depend on %requires_ge, it isn't available on
+  Fedora and RHEL.
+
+---
+Wed Jun 15 20:30:18 UTC 2011 - sasc...@suse.de
+
+- Really set CFLAGS through HOST_EXTRA_CFLAGS environment variable
+  for building Go itself and for Go macros (used by Go packages)
+- Added go-fix-werrors.patch to fix fatal compiler warnings, not
+  used yet as -Wno-error is passed currently
+- Adhere to SUSE patch comment conventions
+- Changed %go_requires macro from '%requires_eq go' to 
+  '%requires_ge go'
+
+---
+Wed Jun 15 11:58:25 UTC 2011 - sasc...@suse.de
+
+- Update to 15/06/2011 mercurial version
+  * Increase max no of windows callbacks (issue 1912)
+  * gc: compact stackframe
+  * http: fix regression permitting io.Copy on HEAD response
+  * Go memory model: minor clarification (issue 1941)
+  * go spec: clarif rules for append, scope rules for :=
+(issue 1936, issue 1940)
+  * gc: handle go print() and go println() (issue 1952)
+  * net: export all fields in Interface (issue 1942)
+- Spec file cleanup:
+  * Remove *.6 and *.8 files from misc documentation
+
+---
+Wed Jun  8 15:10:17 UTC 2011 - sasc...@suse.de
+
+- Added macro %go_disable_brp_strip_static_archive to disable the
+  strip check, it breaks on Fedora-based distros and generates
+  a warning for SUSE-based ones. It can be removed if go binaries
+  become really stripable
+
+---
+Wed Jun  8 07:59:53 UTC 2011 - sasc...@suse.de
+
+- Update to 08/05/2011 mercurial version
+  * ld: fix and simplify ELF symbol generation
+  * cgo: support non intel gcc machine flags
+  * gc: enable building under clang/2.9
+  * countless bugfixes, documentation and speed improvements
+- Don't build twice (thru all.bash and make.bash)
+
+---

calling whatdependson for head-i586


Old:

  go-0.0.r57.1+hg20110521.tar.bz2
  go-rpmlintrc
  godoc-path-locations.patch

New:

  go-0.0.r57.1+hg20110624.tar.bz2
  go-fix-werrors.patch
  go-godoc-path-locations.patch
  rpmlintrc



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.CWISte/_old  2011-06-30 16:32:13.0 +0200
+++ /var/tmp/diff_new_pack.CWISte/_new  2011-06-30 16:32:13.0 +0200
@@ -19,17 +19,20 @@
 
 
 Name:   go
-Version:0.0.r57.1+hg20110521
-Release:3
+Version:0.0.r57.1+hg20110624
+Release:1
 Summary:A compiled, garbage-collected, concurrent programming language
 Group:  Development/Languages/Other
 License:BSD3c
 Url:http://golang.org/
 Source0:go-%{version}.tar.bz2
-Source1:go-rpmlintrc
+Source1:rpmlintrc
 Source2:go.sh
 Source3:macros.go
-Patch1: godoc-path-locations.patch
+# PATCH-FIX-OPENSUSE adjust documentation paths
+Patch1: go-godoc-path-locations.patch
+## PATCH-FIX-UPSTREAM fix various compiler warnings
+#Patch2: go-fix-werrors.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ed
 BuildRequires:  bison
@@ -52,7 +55,6 @@
 
 %package doc
 
-
 Summary:Go documentation
 Group:  Documentation/Other
 Requires:   %{name} = %{version}
@@ -62,7 +64,6 @@
 
 %package vim
 
-
 Summary:Go syntax files for Vim
 Group:  Productivity/Text/Editors
 Requires:   %{name} = %{version}
@@ -72,7 +73,6 @@
 
 %package emacs
 
-
 Summary:   

commit go for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Mon May 23 15:52:05 CEST 2011.




--- go/go.changes   2011-05-21 16:04:56.0 +0200
+++ go/go.changes   2011-05-23 12:33:43.0 +0200
@@ -1,0 +2,6 @@
+Mon May 23 10:31:23 UTC 2011 - sasc...@suse.de
+
+- Generate %go_ver macro from Go package version
+- Use %requires_eq for %go_requires
+
+---

calling whatdependson for head-i586




Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.E1o2SR/_old  2011-05-23 15:51:05.0 +0200
+++ /var/tmp/diff_new_pack.E1o2SR/_new  2011-05-23 15:51:05.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   go
 Version:0.0.r57.1+hg20110521
-Release:1
+Release:3
 Summary:A compiled, garbage-collected, concurrent programming language
 Group:  Development/Languages/Other
 License:BSD3c
@@ -52,6 +52,7 @@
 
 %package doc
 
+
 Summary:Go documentation
 Group:  Documentation/Other
 Requires:   %{name} = %{version}
@@ -61,6 +62,7 @@
 
 %package vim
 
+
 Summary:Go syntax files for Vim
 Group:  Productivity/Text/Editors
 Requires:   %{name} = %{version}
@@ -70,6 +72,7 @@
 
 %package emacs
 
+
 Summary:Go language syntax files for Emacs
 Group:  Productivity/Text/Editors
 Requires:   %{name} = %{version}
@@ -79,6 +82,7 @@
 
 %package kate
 
+
 Summary:Go syntax files for Kate and KWrite editors
 Group:  Productivity/Text/Editors
 Requires:   %{name} = %{version}

++ macros.go ++
--- /var/tmp/diff_new_pack.E1o2SR/_old  2011-05-23 15:51:05.0 +0200
+++ /var/tmp/diff_new_pack.E1o2SR/_new  2011-05-23 15:51:05.0 +0200
@@ -3,15 +3,14 @@
 # Copyright (c) 2011 Sascha Peilicke 
 #
 
-%go_ver 0.0.r57.1+hg20110521
+%go_ver %(LC_ALL=C rpm -q --qf '%%{epoch}:%%{version}\\n' go | sed -e 
's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
 %go_archGOARCH
 
 %go_dir %{_libdir}/go
 %go_sitedir %{_libdir}/go/pkg
 %go_sitearch%{_libdir}/go/pkg/linux_%{go_arch}
 
-%go_requires \
-Requires:   go = %{go_ver}
+%go_requires%requires_eq go
 
 %go_provides \
 Provides:   %{name}-devel = %{version} \






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit go for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Mon May 23 12:15:54 CEST 2011.




--- go/go.changes   2011-05-20 15:40:38.0 +0200
+++ go/go.changes   2011-05-21 16:04:56.0 +0200
@@ -1,0 +2,36 @@
+Sat May 21 13:47:39 UTC 2011 - sasc...@gmx.de
+
+- Switch %go_make* macros from make to gomake
+
+---
+Sat May 21 12:09:28 UTC 2011 - sasc...@gmx.de
+
+- Undo not installing *.h/*.c, remove hard links
+- Update to 21/05/2011 mercurial version
+- Added macro %go_make_test
+
+---
+Fri May 20 19:36:59 UTC 2011 - sasc...@gmx.de
+
+- Package more documentation 
+
+---
+Fri May 20 19:00:22 UTC 2011 - sasc...@gmx.de
+
+- Moved devel package back into main package until a better
+  solution pops up
+  * godoc and goinstall belong to base package and need only
+sources in the $GOROOT/srcpkg tree
+  * No need to install *.h/*.c files
+- Fixed %{go_provides} macro to provide a specific version
+- Changed GOROOT path also in gotry script
+
+---
+Fri May 20 14:32:53 UTC 2011 - sasc...@suse.de
+
+- Removed double provides for devel-static package
+- Provide a specific version for devel-static package
+- Less build dependencies, own directories directly
+- Added comments for rpmlint checks, removed old ones
+
+---

calling whatdependson for head-i586


Old:

  go-0.0.r57.1+hg20110520.tar.bz2

New:

  go-0.0.r57.1+hg20110521.tar.bz2



Other differences:
--
++ go.spec ++
--- /var/tmp/diff_new_pack.uEs1B3/_old  2011-05-23 12:06:27.0 +0200
+++ /var/tmp/diff_new_pack.uEs1B3/_new  2011-05-23 12:06:27.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   go
-Version:0.0.r57.1+hg20110520
+Version:0.0.r57.1+hg20110521
 Release:1
 Summary:A compiled, garbage-collected, concurrent programming language
 Group:  Development/Languages/Other
@@ -37,8 +37,10 @@
 BuildRequires:  fdupes
 Recommends: go-doc
 %endif
-Provides:   libcgo = %{version}-%{release}
-Provides:   %{name}-devel-static
+Provides:   libcgo = %{version}
+Provides:   go-devel-static = %{version}
+Provides:   go-devel = %{version}
+Obsoletes:  go-devel < %{version}
 ExclusiveArch:  %ix86 x86_64 arm
 
 %description
@@ -53,34 +55,14 @@
 Summary:Go documentation
 Group:  Documentation/Other
 Requires:   %{name} = %{version}
-Requires:   go-devel
 
 %description doc
 Go examples and documentation.
 
-%package devel
-
-Summary:Toolchain and standard library sources, goinstall utility
-Group:  Development/Languages/Other
-Requires:   %{name} = %{version}
-Provides:   %{name}-devel-static
-
-%description devel
-Contains source code files for the Go toolchain compilers, linkers and command
-utilities. Contains the "goinstall" utility for installing third party packages
-which requires the go standard library source to be installed.
-
 %package vim
 
 Summary:Go syntax files for Vim
 Group:  Productivity/Text/Editors
-%if 0%{?suse_version}
-BuildRequires:  vim-base
-Requires:   vim-base
-%else
-BuildRequires:  vim
-Requires:   vim
-%endif
 Requires:   %{name} = %{version}
 
 %description vim
@@ -90,7 +72,6 @@
 
 Summary:Go language syntax files for Emacs
 Group:  Productivity/Text/Editors
-Requires:   emacs
 Requires:   %{name} = %{version}
 
 %description emacs
@@ -100,15 +81,6 @@
 
 Summary:Go syntax files for Kate and KWrite editors
 Group:  Productivity/Text/Editors
-%if 0%{?suse_version} >= 1120
-BuildRequires:  kate
-Requires:   kate
-%else
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-BuildRequires:  kdelibs4
-Requires:   kdelibs4
-%endif
-%endif
 Requires:   %{name} = %{version}
 
 %description kate
@@ -128,10 +100,10 @@
 sed '94,113d' $GOROOT/src/run.bash > $GOROOT/src/run.tmp
 mv $GOROOT/src/run.tmp $GOROOT/src/run.bash
 
-# disable net tests and run full test suite
+# compile and run full test suite (disable net tests)
 # TODO: testing is broken currently, re-enable with new upstream version
-#DISABLE_NET_TESTS=1 CFLAGS=${RPM_OPT_FLAGS} LC_ALL=C PATH="$PATH:$GOBIN" 
./all.bash
-CFLAGS=${RPM_OPT_FLAGS} STRIP=/bin/true LC_ALL=C PATH="$PATH:$GOBIN" 
./make.bash
+#DISABLE_NET_TESTS=1 CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" 
./all.bash
+CFLAGS=$RPM_OPT_FLAGS LC_ALL=C PATH="$PATH:$GOBIN" ./make.bash
 
 %install
 export GOROOT="%{buildroot}%{_libdir}/%{name}"
@@ -150,39 +122,47 @@
 mkdir -p $GOROOT/src
 install -m644 src/Make.{ccmd,clib,cmd,common,inc,pkg} $GOR

commit go for openSUSE:Factory

2011-05-20 Thread h_root

Hello community,

here is the log from the commit of package go for openSUSE:Factory
checked in at Fri May 20 16:28:14 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ go/go.changes   2011-05-20 15:40:38.0 +0200
@@ -0,0 +1,162 @@
+---
+Fri May 20 09:51:49 UTC 2011 - sasc...@suse.de
+
+- Disable brp-strip-static-archive also on RHEL and CentOS
+
+---
+Fri May 20 09:31:49 UTC 2011 - sasc...@suse.de
+
+- Fix %go_make_install macro, wrong TARGDIR
+
+---
+Fri May 20 09:25:13 UTC 2011 - sasc...@suse.de
+
+- Update to 20/05/2011 mercurial version
+- Macro %go_arch in macros.go now properly set to correct value
+
+---
+Thu May 19 18:22:16 UTC 2011 - sasc...@gmx.de
+
+- Fix RPM macros, add arm support
+
+---
+Thu May 19 18:11:00 UTC 2011 - sasc...@gmx.de
+
+- Added RPM macros file to simply Go packaging
+- Provide devel-static file in main package
+- Spec file cleanup
+- Remove devel-file-in-non-devel-package rpmlint filter
+- Use proper package versioning scheme (needs reinstall)
+
+---
+Wed May 18 13:48:48 UTC 2011 - sasc...@suse.de
+
+- Disable brp-strip-static-archive on Fedora
+
+---
+Wed May 18 13:09:12 UTC 2011 - sasc...@suse.de
+
+- Re-add STRIP=/bin/true to fix Fedora build
+
+---
+Wed May 18 12:41:25 UTC 2011 - sasc...@suse.de
+
+- Let devel package provide devel-static
+- Fix typo in devel package description
+
+---
+Wed May 18 09:52:17 UTC 2011 - sasc...@suse.de
+
+- Update to 18/05/2011 upstream mercurial release
+- Rebased godoc patch
+- Removed doc/talks/go_talk-20091030.pdf, fixes bnc#686557
+- No chrpath necessary anymore
+- Use fdupes
+- Drop executable-stack rpmlint filter, not needed anymore
+
+---
+Fri Apr 29 18:28:24 UTC 2011 - sasc...@gmx.de
+
+- Update to 29/04/2011 upstream mercurial release
+- Changed RPM variables to macros
+
+---
+Mon Mar 21 15:12:45 UTC 2011 - sasc...@suse.de
+
+- Changed license from BSD to BSD3c
+- Remove pkg_version macro, use %%{version} directly
+- No Requires on %%{release}
+
+---
+Tue Mar  8 18:16:34 UTC 2011 - gra...@andtech.eu
+
+- Update to 07/03/2011 .1 upstream mercurual release
+- Update godoc patch to reflect changes to path package 
+
+---
+Tue Mar  1 13:12:30 UTC 2011 - gra...@andtech.eu
+
+- Update to 24/02/2011 upstream mercurial release 
+
+---
+Wed Feb 16 05:21:20 UTC 2011 - gra...@andtech.eu
+
+- Update to 15/12/2011 upstream mercurial release
+- Remove redundant workarounds from .spec 
+
+---
+Tue Feb  8 16:51:09 UTC 2011 - gra...@andtech.eu
+
+- add go-devel for pkg and cmd source installation, this is
+  intended to support goinstall(once patched).
+- Move goinstall binary to go-devel package and install to
+  %{_sbindir}
+- Change the godoc patch to generate API docs from the source
+  install location of go-devel 
+
+---
+Tue Feb  1 11:31:23 UTC 2011 - gra...@andtech.eu
+
+- Updated to release 20/01/2011
+- run full test suite (without net dependant tests)
+- remove redundant libcgo.so from .spec 
+
+---
+Wed Dec  8 16:26:27 UTC 2010 - sasc...@suse.de
+
+- Updated to 08/12/2010 mercurial version
+
+---
+Thu Dec  2 08:16:35 UTC 2010 - speili...@novell.com
+
+- Updated to 02/12/2010 mercurial version
+
+---
+Tue Nov 16 08:52:36 UTC 2010 - speili...@novell.com
+
+- Updated to 16/11/2010 mercurial version
+
+---
+Tue Nov  9 21:53:50 UTC 2010 - speili...@novell.com
+
+- Updated to 09/11/2010 mercurial version
+
+---
+Mon Nov  8 20:31:07 UTC 2010 - speili...@novell.com
+
+- Simplified spec file
+
+---
+Mon Nov  8 09:36:14 UTC 2010 - speili...@novell.com
+
+- Fixed tarball (no hg history and build files)
+
+--