From 162db53c24050b70edef93519c8db1f2dab07412 Mon Sep 17 00:00:00 2001 From: "jiahua.yu" Date: Mon, 4 Dec 2023 11:02:32 +0800 Subject: [PATCH] Init support for arch ppc64le --- golang.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/golang.spec b/golang.spec index eb8b362..284d0f6 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 -- Gitee