# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/quay/clair %global goipath github.com/quay/clair/v3 %global forgeurl https://github.com/quay/clair Version: 3.0.0~pre1 %gometa %global extractdir %(echo %{extractdir} | sed -e 's/~/-/g') %global gosource %(echo %{gosource} | sed -e 's/~/-/g') %global goaltipaths github.com/coreos/clair %global common_description %{expand: Vulnerability Static Analysis for Containers.} %global golicenses LICENSE NOTICE %global godocs ROADMAP.md code-of-conduct.md README.md\\\ Documentation Name: %{goname} Release: %autorelease Summary: Vulnerability Static Analysis for Containers License: Apache-2.0 URL: %{gourl} Source: %{gosource} # To use Prometheus >= 1.0.0 Patch: promhttp.patch # Remove in F43 Provides: golang-github-quay-clair-3 = %{version}-%{release} Obsoletes: golang-github-quay-clair-3 < 3.0.0~pre1-9 %global godevelheader %{expand: Provides: golang-github-quay-clair-3-devel = %{version}-%{release} Obsoletes: golang-github-quay-clair-3-devel < 3.0.0~pre1-9} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck -t database -d pkg/gitutil %endif %gopkgfiles %changelog %autochangelog