[packages/golang] - updated to 1.7.1 - updated disable-TestGdbPython patch
qboosh
qboosh at pld-linux.org
Wed Oct 12 20:34:13 CEST 2016
commit d26aefac0cf15699f91739d417fa491a7b792dc9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Oct 12 20:36:19 2016 +0200
- updated to 1.7.1
- updated disable-TestGdbPython patch
go1.5beta1-disable-TestGdbPython.patch | 8 ++++----
golang.spec | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index 90d2269..bf1bde4 100644
--- a/golang.spec
+++ b/golang.spec
@@ -15,7 +15,7 @@
%bcond_without ext_linker # Build golang using external/internal (close to cgo disabled) linking
%bcond_without cgo # cgo (importing C libraries) support
-%ifnarch %{ix86} %{x8664} %{arm} ppc64le aarch64
+%ifnarch %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64le
%undefine with_shared
%undefine with_ext_linker
%undefine with_cgo
@@ -24,14 +24,14 @@
Summary: Go compiler and tools
Summary(pl.UTF-8): Kompilator języka Go i narzędzia
Name: golang
-Version: 1.6.3
+Version: 1.7.1
Release: 1
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
License: BSD and Public Domain
Group: Development/Languages
# Source0Download: https://golang.org/dl/
Source0: https://storage.googleapis.com/golang/go%{version}.src.tar.gz
-# Source0-md5: bf3fce6ccaadd310159c9e874220e2a2
+# Source0-md5: 433e2158e5c28fe24b11622df393cc46
Patch0: ca-certs.patch
Patch2: %{name}-1.2-verbose-build.patch
Patch4: go1.5beta1-disable-TestGdbPython.patch
@@ -53,7 +53,7 @@ BuildRequires: tzdata
%endif
Requires: ca-certificates
Conflicts: gcc-go
-ExclusiveArch: %{ix86} %{x8664} %{arm} aarch64 mips64 ppc64 ppc64le
+ExclusiveArch: %{ix86} %{x8664} %{arm} aarch64 mips64 mips64le ppc64 ppc64le s390x
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define no_install_post_strip 1
@@ -78,7 +78,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%ifarch mips64
%define GOARCH mips64x
%endif
-%ifarch ppc64 ppc64le
+%ifarch ppc64 ppc64le s390x
%define GOARCH %{_arch}
%endif
diff --git a/go1.5beta1-disable-TestGdbPython.patch b/go1.5beta1-disable-TestGdbPython.patch
index 29f3ea8..cba6884 100644
--- a/go1.5beta1-disable-TestGdbPython.patch
+++ b/go1.5beta1-disable-TestGdbPython.patch
@@ -4,12 +4,12 @@ diff --git a/src/runtime/runtime-gdb_test.go b/src/runtime/runtime-gdb_test.go
index f4014b2..2c09441 100644
--- a/src/runtime/runtime-gdb_test.go
+++ b/src/runtime/runtime-gdb_test.go
-@@ -38,7 +38,7 @@ func main() {
+@@ -76,7 +76,7 @@
}
`
-func TestGdbPython(t *testing.T) {
+func testGdbPython(t *testing.T) {
- if runtime.GOOS == "darwin" {
- t.Skip("gdb does not work on darwin")
- }
+ checkGdbEnvironment(t)
+ checkGdbVersion(t)
+ checkGdbPython(t)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/d26aefac0cf15699f91739d417fa491a7b792dc9
More information about the pld-cvs-commit
mailing list