mirror of
https://abf.rosa.ru/djam/trufflehog.git
synced 2025-02-23 06:22:56 +00:00
3.57.0
This commit is contained in:
parent
81fe7d9194
commit
f624dea411
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue