summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-15 12:31:44 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-15 12:31:44 +0000
commit9ef21610dad9cf7726bf667bcfa13a6fa3983746 (patch)
tree91c5d21d7b38ede81f6bd275456ca5f9ee61f404
parent01c2be3eec611435cbcf70d0c2bb744c8a9764ab (diff)
-rw-r--r--yq.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/yq.spec b/yq.spec
index 681202a..40ef612 100644
--- a/yq.spec
+++ b/yq.spec
@@ -74,6 +74,7 @@ Fish command line completion support for %{name}.
%setup -qa1
%build
+export GOPROXY=https://goproxy.cn,direct
go build -buildmode=pie -mod=vendor -ldflags="-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" -o bin/%{name}
%install