diff --git a/go/go.patch b/go/go.patch index 73c453550f..b76a867907 100644 --- a/go/go.patch +++ b/go/go.patch @@ -1,19 +1,21 @@ Index: src/cmd/go/internal/modfetch/fetch.go ---- src/cmd/go/internal/modfetch/fetch.go.orig 2019-10-18 00:02:09.000000000 +0200 -+++ src/cmd/go/internal/modfetch/fetch.go 2019-10-19 19:38:05.215862000 +0200 -@@ -124,9 +124,6 @@ +--- src/cmd/go/internal/modfetch/fetch.go.orig 2020-02-25 19:32:50.000000000 +0100 ++++ src/cmd/go/internal/modfetch/fetch.go 2020-02-26 13:44:55.222333000 +0100 +@@ -123,11 +123,6 @@ return err } -- // Make dir read-only only *after* renaming it. -- // os.Rename was observed to fail for read-only directories on macOS. -- makeDirsReadOnly(dir) +- if !cfg.ModCacheRW { +- // Make dir read-only only *after* renaming it. +- // os.Rename was observed to fail for read-only directories on macOS. +- makeDirsReadOnly(dir) +- } return nil } Index: src/crypto/x509/root_unix.go ---- src/crypto/x509/root_unix.go.orig 2019-10-18 00:02:09.000000000 +0200 -+++ src/crypto/x509/root_unix.go 2019-10-19 19:37:58.515876000 +0200 +--- src/crypto/x509/root_unix.go.orig 2020-02-25 19:32:50.000000000 +0100 ++++ src/crypto/x509/root_unix.go 2020-02-26 13:44:11.717242000 +0100 @@ -14,12 +14,7 @@ // Possible directories with certificate files; stop after successfully // reading at least one file from a directory. diff --git a/go/go.spec b/go/go.spec index aedcd6c7e7..dcc15bcbb5 100644 --- a/go/go.spec +++ b/go/go.spec @@ -31,8 +31,8 @@ Distribution: OpenPKG Community Class: PLUS Group: Language License: BSD -Version: 1.13.8 -Release: 20200213 +Version: 1.14 +Release: 20200226 # list of sources Source0: http://golang.org/dl/go%{version}.src.tar.gz