mirror of
https://abf.rosa.ru/djam/minio-client.git
synced 2025-02-23 14:42:56 +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 ver RELEASE
|
||||||
%define commit 060b0762fb17e26829fdcc5b43e42fdc437aeefc
|
%define commit 060b0762fb17e26829fdcc5b43e42fdc437aeefc
|
||||||
%define shortcommit %(c=%{commit}; echo ${c:0:12})
|
%define shortcommit %(c=%{commit}; echo ${c:0:12})
|
||||||
%define secscan 1
|
%define secscan 0
|
||||||
|
|
||||||
Name: minio-client
|
Name: minio-client
|
||||||
Version: 20241002
|
Version: 20241002
|
||||||
|
@ -36,7 +36,7 @@ trivy fs --scanners vuln --format cosign-vuln .
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export GOPROXY=direct
|
export GOPROXY=https://proxy.golang.org/cached-only
|
||||||
#make BUILD_LDFLAGS="-X cmd.Version=RELEASE.%{rel}"
|
#make BUILD_LDFLAGS="-X cmd.Version=RELEASE.%{rel}"
|
||||||
GO111MODULE=on CGO_ENABLED=0 go build -trimpath -tags kqueue \
|
GO111MODULE=on CGO_ENABLED=0 go build -trimpath -tags kqueue \
|
||||||
-ldflags="-s -w \
|
-ldflags="-s -w \
|
||||||
|
@ -55,7 +55,7 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export GOPROXY=direct
|
export GOPROXY=https://proxy.golang.org/cached-only
|
||||||
|
|
||||||
go test ./...
|
go test ./...
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue