diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-03-20 09:23:30 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-03-20 09:23:30 +0000 |
| commit | 36dcaaba9a1106adea160479eaae523f92a96776 (patch) | |
| tree | 8536ebfe922a6303a29fd426f67cc5cfa858a388 | |
| parent | ee62c7ea8b665a1f80da4aaac474c9969a4c345c (diff) | |
automatic import of google-guest-agent
| -rw-r--r-- | google-guest-agent.spec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/google-guest-agent.spec b/google-guest-agent.spec index 31cc158..c1a4e77 100644 --- a/google-guest-agent.spec +++ b/google-guest-agent.spec @@ -52,7 +52,6 @@ Obsoletes: python-google-compute-engine, python3-google-compute-engine Contains the Google guest agent binary. %prep -find . -name "go.mod" -exec sed -i 's/^go 1\.[0-9]\+$/go 1.21/' {} \; %if 0%{?build_plugin_manager} %autosetup -a 1 @@ -60,6 +59,8 @@ find . -name "go.mod" -exec sed -i 's/^go 1\.[0-9]\+$/go 1.21/' {} \; %autosetup %endif +find . -name "go.mod" -exec sed -i 's/^go 1\.[0-9]\+$/go 1.21/' {} \; + %build export GOPROXY=https://goproxy.cn,direct export GOSUMDB=sum.golang.org |
