diff --git a/minio-client.spec b/minio-client.spec index 4f93cda..d847784 100644 --- a/minio-client.spec +++ b/minio-client.spec @@ -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 ./...