From f624dea4112b8ceb63f7ed159b59a10b14b63d0c Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Sat, 23 Sep 2023 21:58:07 +0000 Subject: [PATCH] 3.57.0 --- trufflehog.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/trufflehog.spec b/trufflehog.spec index 61db03e..c8bcd48 100644 --- a/trufflehog.spec +++ b/trufflehog.spec @@ -7,7 +7,7 @@ Release: 1 Summary: Find credentials URL: https://trufflesecurity.com Source0: https://github.com/trufflesecurity/trufflehog/archive/v%{version}/%{name}-%{version}.tar.gz -License: AGPL-3.0 +License: AGPLv3 Group: Development/Other BuildRequires: go >= 1.21 BuildRequires: git-core @@ -29,8 +29,9 @@ and billions of TLS certificates using our Driftwood technology. %setup -q %build -go mod download -CGO_ENABLED=0 go build -a -o bin/trufflehog main.go +export GOPROXY=direct + +CGO_ENABLED=0 go build --ldflags="-s -w" -a -o bin/trufflehog main.go upx bin/%{name} %install