mirror of
https://abf.rosa.ru/djam/kubescape.git
synced 2025-02-23 14:52:51 +00:00
2.2.6
This commit is contained in:
parent
b507812da9
commit
c5ff5a5772
2 changed files with 6 additions and 0 deletions
1
.abf.yml
1
.abf.yml
|
@ -1,2 +1,3 @@
|
||||||
sources:
|
sources:
|
||||||
|
git2go-eae00773cce87d5282a8ac7c10b5c1961ee6f9cb.tar.gz: fbd3abab22218ae33ac6c6419130a5a52383294b
|
||||||
kubescape-2.2.6.tar.gz: d668571ded18ca173d9d67630a5c56b1d0305360
|
kubescape-2.2.6.tar.gz: d668571ded18ca173d9d67630a5c56b1d0305360
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
%define debug %nil
|
%define debug %nil
|
||||||
%define debug_package %nil
|
%define debug_package %nil
|
||||||
|
%define git2go_rev eae00773cce87d5282a8ac7c10b5c1961ee6f9cb
|
||||||
|
|
||||||
Name: kubescape
|
Name: kubescape
|
||||||
Version: 2.2.6
|
Version: 2.2.6
|
||||||
|
@ -7,6 +8,7 @@ Release: 1
|
||||||
Summary: NSA and CISA kubernetes securely tests
|
Summary: NSA and CISA kubernetes securely tests
|
||||||
URL: https://github.com/armosec/kubescape
|
URL: https://github.com/armosec/kubescape
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
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
|
License: ASL 2.0
|
||||||
Group: Development/Other
|
Group: Development/Other
|
||||||
BuildRequires: go >= 1.11
|
BuildRequires: go >= 1.11
|
||||||
|
@ -23,6 +25,9 @@ specifications evolve.
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
tar -xf %{SOURCE1}
|
||||||
|
cp -a git2go-%{git2go_rev}/* git2go/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go mod tidy
|
go mod tidy
|
||||||
go build -o %{name} .
|
go build -o %{name} .
|
||||||
|
|
Loading…
Add table
Reference in a new issue