From 89e31d43070d4d9ddcf04481d08a461467888225 Mon Sep 17 00:00:00 2001 From: "jiahua.yu" Date: Wed, 13 Dec 2023 10:31:08 +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 c71fce6..2a6e4ca 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.21.4 -Release: 1 +Release: 2 Summary: The Go Programming Language License: BSD and Public Domain URL: https://golang.org/ @@ -351,6 +354,9 @@ fi %files devel -f go-tests.list -f go-misc.list -f go-src.list %changelog +* Wed Dec 13 2023 jiahua.yu - 1.21.4-2 +- init support for arch ppc64le + * Tue Dec 5 2023 hanchao - 1.21.4-1 - upgrade to 1.21.4 -- Gitee