mirror of
https://abf.rosa.ru/djam/finch.git
synced 2025-02-23 06:13:04 +00:00
1.2.1
This commit is contained in:
parent
600a1667e7
commit
f387a4dced
2 changed files with 19 additions and 3 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
finch-1.2.0.tar.gz: 26260f4359c8846d42e7d61594a529f160108b13
|
||||
finch-1.2.1.tar.gz: 3bee43459379b67ceae0afe496b3877916441a72
|
||||
|
|
20
finch.spec
20
finch.spec
|
@ -1,8 +1,9 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
%define secscan 1
|
||||
|
||||
Name: finch
|
||||
Version: 1.2.0
|
||||
Version: 1.2.1
|
||||
Release: 1
|
||||
Summary: The Finch CLI an open source client for container development
|
||||
URL: https://github.com/runfinch/finch
|
||||
|
@ -12,6 +13,10 @@ Group: Development/Other
|
|||
BuildRequires: go
|
||||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
%if %{secscan}
|
||||
BuildRequires: clamav
|
||||
BuildRequires: trivy
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
|
@ -25,9 +30,13 @@ offering a simple native client to tie it all together
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%if %{secscan}
|
||||
clamscan -ir .
|
||||
trivy fs --scanners vuln --format cosign-vuln .
|
||||
%endif
|
||||
|
||||
%build
|
||||
export GOPROXY=direct
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
export VERSION=%{verson}
|
||||
#make %{name}
|
||||
|
||||
|
@ -42,3 +51,10 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|||
%doc README.md LICENSE
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%check
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
#go test ./...
|
||||
|
||||
%if %{secscan}
|
||||
clamscan -ir %{buildroot}
|
||||
%endif
|
||||
|
|
Loading…
Add table
Reference in a new issue