This commit is contained in:
Sergey Zhemoytel 2023-04-06 22:08:47 +00:00
parent b507812da9
commit c5ff5a5772
2 changed files with 6 additions and 0 deletions

View file

@ -1,2 +1,3 @@
sources:
git2go-eae00773cce87d5282a8ac7c10b5c1961ee6f9cb.tar.gz: fbd3abab22218ae33ac6c6419130a5a52383294b
kubescape-2.2.6.tar.gz: d668571ded18ca173d9d67630a5c56b1d0305360

View file

@ -1,5 +1,6 @@
%define debug %nil
%define debug_package %nil
%define git2go_rev eae00773cce87d5282a8ac7c10b5c1961ee6f9cb
Name: kubescape
Version: 2.2.6
@ -7,6 +8,7 @@ Release: 1
Summary: NSA and CISA kubernetes securely tests
URL: https://github.com/armosec/kubescape
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/libgit2/git2go/archive/%{git2go_rev}/git2go-%{git2go_rev}.tar.gz
License: ASL 2.0
Group: Development/Other
BuildRequires: go >= 1.11
@ -23,6 +25,9 @@ specifications evolve.
%prep
%setup -q
tar -xf %{SOURCE1}
cp -a git2go-%{git2go_rev}/* git2go/
%build
go mod tidy
go build -o %{name} .