summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-06-22 17:34:30 +0000
committerCoprDistGit <infra@openeuler.org>2024-06-22 17:34:30 +0000
commit66a5e24733ea352a21944a120071bcd4986996e1 (patch)
treee04dbabb42b34fbecd6633272638d7279d76640f
parent842699c8da3ec38248c580186b42a1e22b4e1a31 (diff)
automatic import of fzfopeneuler24.03_LTS
-rw-r--r--fzf.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/fzf.spec b/fzf.spec
index 0f8d38b..3f96fdd 100644
--- a/fzf.spec
+++ b/fzf.spec
@@ -22,6 +22,8 @@ and still get the results you want.
%autosetup -n %{name}-%{version} -p1
%build
+go env -w GO111MODULE=on
+go env -w GOPROXY=https://goproxy.io,direct
go build -a -ldflags "-s -w -X main.version=%{version} -X main.revision=openEuler"
%install