#130 Update rawhide to upstream release 1.20.12
Closed 6 months ago by alexsaezm. Opened 6 months ago by packit.

@@ -0,0 +1,41 @@ 

+ From 67a4711d09c6595c17f32470c15bf471c287777d Mon Sep 17 00:00:00 2001

+ From: Michael Munday <munday@ca.ibm.com>

+ Date: Tue, 17 Jan 2017 11:33:38 -0500

+ Subject: [PATCH 2/3] syscall: expose IfInfomsg.X__ifi_pad on s390x

+ 

+ Exposing this field on s390x improves compatibility with the other

+ linux architectures, all of which already expose it.

+ 

+ Fixes #18628 and updates #18632.

+ 

+ Change-Id: I08e8e1eb705f898cd8822f8bee0d61ce11d514b5

+ ---

+  src/syscall/ztypes_linux_s390x.go | 12 ++++++------

+  1 file changed, 6 insertions(+), 6 deletions(-)

+ 

+ diff --git a/src/syscall/ztypes_linux_s390x.go b/src/syscall/ztypes_linux_s390x.go

+ index 91f5ceff20..59a8b1fccd 100644

+ --- a/src/syscall/ztypes_linux_s390x.go

+ +++ b/src/syscall/ztypes_linux_s390x.go

+ @@ -449,12 +449,12 @@ type RtAttr struct {

+  }

+  

+  type IfInfomsg struct {

+ -	Family uint8

+ -	_      uint8

+ -	Type   uint16

+ -	Index  int32

+ -	Flags  uint32

+ -	Change uint32

+ +	Family     uint8

+ +	X__ifi_pad uint8

+ +	Type       uint16

+ +	Index      int32

+ +	Flags      uint32

+ +	Change     uint32

+  }

+  

+  type IfAddrmsg struct {

+ -- 

+ 2.26.2

+ 

@@ -0,0 +1,48 @@ 

+ From fa250374b727439159bc9f203b854bb5df00186f Mon Sep 17 00:00:00 2001

+ From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@redhat.com>

+ Date: Mon, 27 May 2019 15:12:53 +0200

+ Subject: [PATCH 3/3] cmd/go: disable Google's proxy and sumdb

+ 

+ ---

+  src/cmd/go/internal/cfg/cfg.go                  | 4 ++--

+  src/cmd/go/testdata/script/mod_sumdb_golang.txt | 6 +++---

+  2 files changed, 5 insertions(+), 5 deletions(-)

+ 

+ diff --git a/src/cmd/go/internal/cfg/cfg.go b/src/cmd/go/internal/cfg/cfg.go

+ index 57a3c1ff6f..e56c60e591 100644

+ --- a/src/cmd/go/internal/cfg/cfg.go

+ +++ b/src/cmd/go/internal/cfg/cfg.go

+ @@ -266,8 +266,8 @@ var (

+  	GOPPC64  = envOr("GOPPC64", fmt.Sprintf("%s%d", "power", buildcfg.GOPPC64))

+  	GOWASM   = envOr("GOWASM", fmt.Sprint(buildcfg.GOWASM))

+  

+ -	GOPROXY    = envOr("GOPROXY", "https://proxy.golang.org,direct")

+ -	GOSUMDB    = envOr("GOSUMDB", "sum.golang.org")

+ +	GOPROXY    = envOr("GOPROXY", "direct")

+ +	GOSUMDB    = envOr("GOSUMDB", "off")

+  	GOPRIVATE  = Getenv("GOPRIVATE")

+  	GONOPROXY  = envOr("GONOPROXY", GOPRIVATE)

+  	GONOSUMDB  = envOr("GONOSUMDB", GOPRIVATE)

+ diff --git a/src/cmd/go/testdata/script/mod_sumdb_golang.txt b/src/cmd/go/testdata/script/mod_sumdb_golang.txt

+ index becd88b52e..b2a1250372 100644

+ --- a/src/cmd/go/testdata/script/mod_sumdb_golang.txt

+ +++ b/src/cmd/go/testdata/script/mod_sumdb_golang.txt

+ @@ -2,12 +2,12 @@

+  env GOPROXY=

+  env GOSUMDB=

+  go env GOPROXY

+ -stdout '^https://proxy.golang.org,direct$'

+ +stdout '^direct$'

+  go env GOSUMDB

+ -stdout '^sum.golang.org$'

+ +stdout '^off$'

+  env GOPROXY=https://proxy.golang.org

+  go env GOSUMDB

+ -stdout '^sum.golang.org$'

+ +stdout '^off$'

+  

+  # Download direct from github.

+  

+ -- 

+ 2.31.1

+ 

file modified
+1 -1
@@ -1,3 +1,3 @@ 

  This repository is maintained by packit.

  https://packit.dev/

- The file was generated using packit 0.78.2.post2+g81828af.

+ The file was generated using packit 0.87.1.post1.dev5+g6e286a7b.

file modified
+1 -1
@@ -99,7 +99,7 @@ 

  #global go_prerelease rc3

  %global go_patch 4

  

- %global go_version %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease:~%{go_prerelease}}

+ %global go_version 1.20.12

  %global go_source %{go_api}%{?go_patch:.%{go_patch}}%{?go_prerelease}

   

  Name:           golang

Upstream tag: go1.20.12
Upstream commit: 97c8ff8d


If you need to do any change in this pull request, you can clone Packit's fork and push directly to the source branch of this PR (provided you have commit access to this repository):

git clone ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit/rpms/golang.git
cd golang
git checkout 1.20.12-rawhide-update-pull_from_upstream
git push origin 1.20.12-rawhide-update-pull_from_upstream

Alternatively, if you already have the package repository cloned, you can just fetch the Packit's fork:

cd golang
git remote add packit ssh://$YOUR_USER@pkgs.fedoraproject.org/forks/packit/rpms/golang.git
git fetch packit refs/heads/1.20.12-rawhide-update-pull_from_upstream
git checkout 1.20.12-rawhide-update-pull_from_upstream
git push packit 1.20.12-rawhide-update-pull_from_upstream

If you have the koji_build job configured as well, make sure to configure the allowed_pr_authors and/or allowed_committers (see the docs) since by default, Packit reacts only to its own PRs.


Before pushing builds/updates, please remember to check the new version against the packaging guidelines.

For example, please:

  • check that the new sources only contain permissible content
  • check that the license of the new version has not changed
  • check for any API/ABI and other changes that may break dependent packages
  • check the autogenerated changelog

Logs and details of the syncing: Packit dashboard

Closing, the version is not correct for this branch.

Pull-Request has been closed by alexsaezm

6 months ago