mirror of
https://abf.rosa.ru/djam/minio-client.git
synced 2025-02-23 06:32:59 +00:00
20241002
This commit is contained in:
parent
ff6b89fcec
commit
cdf90749a5
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
%define ver RELEASE
|
||||
%define commit 060b0762fb17e26829fdcc5b43e42fdc437aeefc
|
||||
%define shortcommit %(c=%{commit}; echo ${c:0:12})
|
||||
%define secscan 1
|
||||
%define secscan 0
|
||||
|
||||
Name: minio-client
|
||||
Version: 20241002
|
||||
|
@ -36,7 +36,7 @@ trivy fs --scanners vuln --format cosign-vuln .
|
|||
%endif
|
||||
|
||||
%build
|
||||
export GOPROXY=direct
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
#make BUILD_LDFLAGS="-X cmd.Version=RELEASE.%{rel}"
|
||||
GO111MODULE=on CGO_ENABLED=0 go build -trimpath -tags kqueue \
|
||||
-ldflags="-s -w \
|
||||
|
@ -55,7 +55,7 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|||
%{_bindir}/%{name}
|
||||
|
||||
%check
|
||||
export GOPROXY=direct
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
|
||||
go test ./...
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue