## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # 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 # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cockroachdb/cmux) BuildRequires: golang(github.com/coreos/pkg/timeutil) BuildRequires: golang(github.com/deckarep/golang-set) BuildRequires: golang(github.com/fernet/fernet-go) BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/golang/protobuf/ptypes) BuildRequires: golang(github.com/golang/protobuf/ptypes/timestamp) BuildRequires: golang(github.com/grpc-ecosystem/go-grpc-prometheus) BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/runtime) BuildRequires: golang(github.com/grpc-ecosystem/grpc-gateway/utilities) BuildRequires: golang(github.com/guregu/null/zero) BuildRequires: golang(github.com/hashicorp/golang-lru) BuildRequires: golang(github.com/julienschmidt/httprouter) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(github.com/pborman/uuid) BuildRequires: golang(github.com/prometheus/client_golang/prometheus) BuildRequires: golang(github.com/remind101/migrate) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) BuildRequires: golang(golang.org/x/net/context) BuildRequires: golang(golang.org/x/sync/errgroup) BuildRequires: golang(google.golang.org/genproto/googleapis/api/annotations) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/codes) BuildRequires: golang(google.golang.org/grpc/credentials) BuildRequires: golang(google.golang.org/grpc/grpclog) BuildRequires: golang(google.golang.org/grpc/status) BuildRequires: golang(gopkg.in/yaml.v2) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck -t database -d pkg/gitutil %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 3.0.0~pre1-2 - Uncommitted changes * Sat Sep 18 2021 Robert-André Mauchin 3.0.0~pre1-1 - Initial release