summaryrefslogtreecommitdiff
path: root/yq.spec
diff options
context:
space:
mode:
Diffstat (limited to 'yq.spec')
-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