From f92a0b512ff076ec6a044ac866cbe61efae777be Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 20 Mar 2026 09:09:34 +0000 Subject: automatic import of google-guest-agent --- google-guest-agent.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/google-guest-agent.spec b/google-guest-agent.spec index 8fa53ee..1ef7232 100644 --- a/google-guest-agent.spec +++ b/google-guest-agent.spec @@ -60,6 +60,9 @@ Contains the Google guest agent binary. %endif %build +export GOPROXY=https://goproxy.cn,direct +export GOSUMDB=sum.golang.org + for bin in google_guest_agent google_metadata_script_runner gce_workload_cert_refresh; do pushd "$bin" GOPATH=%{_gopath} CGO_ENABLED=0 %{_go} build -ldflags="-s -w -X main.version=%{_version}" -mod=readonly -- cgit v1.2.3