This commit is contained in:
Sergey Zhemoytel 2024-04-05 10:41:24 +00:00
parent ac7e85e568
commit 19443d60da

View file

@ -26,8 +26,7 @@ BuildRequires: upx
%setup -q
%build
export GOPROXY=https://goproxy.io
go mod tidy
export GOPROXY=https://proxy.golang.org/cached-only
go build --ldflags="-s -w" .
upx %{name}