summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--google-guest-agent.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/google-guest-agent.spec b/google-guest-agent.spec
index 1ef7232..31cc158 100644
--- a/google-guest-agent.spec
+++ b/google-guest-agent.spec
@@ -52,6 +52,7 @@ 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