- z, err := loadLocation("America/Los_Angeles", zoneSources[len(zoneSources)-1:])
+ z, err := loadLocation("America/Los_Angeles", zoneSources)
if err != nil {
- panic("cannot load America/Los_Angeles for testing: " + err.Error())
+ panic("cannot load America/Los_Angeles for testing: " + err.Error() + "; you may want to use -tags=timetzdata")
}
@@ -21,8 +23,9 @@ func initTestingZone() {
var OrigZoneSources = zoneSources
--- golang-1.6/src/crypto/x509/root_linux.go~ 2016-02-17 22:35:21.000000000 +0200
+++ golang-1.6/src/crypto/x509/root_linux.go 2016-04-05 13:04:44.231441583 +0300
@@ -11,6 +11,7 @@
- // Possible directories with certificate files; stop after successfully
- // reading at least one file from a directory.
+
+ // Possible directories with certificate files; all will be read.
var certDirectories = []string{
+ "/etc/openssl/certs", // PLD Linux
"/etc/ssl/certs", // SLES10/SLES11, https://golang.org/issue/12139
Summary: Go compiler and tools
Summary(pl.UTF-8): Kompilator języka Go i narzędzia
Name: golang
-Version: 1.17.7
+Version: 1.18
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: 063999612df20d2f9b5777fb60eb2f82
+# Source0-md5: da8a439a13865ad0d298a703e70e7ee5
Patch0: ca-certs.patch
Patch1: 0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
URL: https://golang.org/