Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37875568
en ru br
ALT Linux repos
S:2.1.2-alt1

Group :: Other
RPM: clair

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%global import_path github.com/quay/clair
Name:     clair
Version:  2.1.2
Release:  alt1

Summary:  Vulnerability Static Analysis for Containers
License:  Apache-2.0
Group:    Other
Url:      https://github.com/quay/clair

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

Source:   %name-%version.tar

BuildRequires(pre): rpm-build-golang
BuildRequires: golang

%description
Clair is an open source project for the static analysis of vulnerabilities in
application containers.

%prep
%setup

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"

%golang_prepare

cd .build/src/%import_path
%golang_build cmd/clair

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install

%files
%_bindir/*
%doc *.md

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin