diff --git a/golang.spec b/golang.spec index eb8b362cf412d9b2561ad8212f87cca018ccba21..284d0f65ca3296b3851770bb2c1b4ccc49b83564 100644 --- a/golang.spec +++ b/golang.spec @@ -12,19 +12,19 @@ %define __find_requires %{nil} %bcond_with bootstrap -%ifarch x86_64 aarch64 riscv64 +%ifarch x86_64 aarch64 riscv64 ppc64le %bcond_without ignore_tests %else %bcond_with ignore_tests %endif -%ifarch x86_64 aarch64 riscv64 +%ifarch x86_64 aarch64 riscv64 ppc64le %global external_linker 1 %else %global external_linker 0 %endif -%ifarch x86_64 aarch64 riscv64 +%ifarch x86_64 aarch64 riscv64 ppc64le %global cgo_enabled 1 %else %global cgo_enabled 0 @@ -57,10 +57,13 @@ %ifarch riscv64 %global gohostarch riscv64 %endif +%ifarch ppc64le +%global gohostarch ppc64le +%endif Name: golang Version: 1.20.7 -Release: 2 +Release: 3 Summary: The Go Programming Language License: BSD and Public Domain URL: https://golang.org/ @@ -354,6 +357,9 @@ fi %files devel -f go-tests.list -f go-misc.list -f go-src.list %changelog +* Mon Dec 4 2023 jiahua.yu - 1.20.7-3 +- Init support for arch ppc64le + * Thu Aug 24 2023 wanglimin - 1.20.7-2 - permit invalid host header for docker