# Generated by go2rpm %bcond_without check # https://github.com/kubernetes/metrics %global goipath k8s.io/metrics %global forgeurl https://github.com/kubernetes/metrics Version: 1.13.7 %global tag kubernetes-1.13.7-beta.0 %global distprefix %{nil} %gometa %global common_description %{expand: This package contains type definitions and client code for the metrics APIs that Kubernetes makes use of. Depending on the API, the actual implementations live elsewhere. Consumers of the metrics APIs can make use of this repository to access implementations of the APIs, while implementors should make use of this library when implementing their API servers.} %global golicenses LICENSE %global godocs README.md code-of-conduct.md CONTRIBUTING.md\\\ IMPLEMENTATIONS.md Name: %{goname} Release: 1.beta.0%{?dist} Summary: Kubernetes metrics-related API types and clients # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/gogo/protobuf/sortkeys) BuildRequires: golang(k8s.io/api/core/v1) BuildRequires: golang(k8s.io/apimachinery/pkg/api/meta) BuildRequires: golang(k8s.io/apimachinery/pkg/api/resource) BuildRequires: golang(k8s.io/apimachinery/pkg/apis/meta/v1) BuildRequires: golang(k8s.io/apimachinery/pkg/conversion) BuildRequires: golang(k8s.io/apimachinery/pkg/labels) BuildRequires: golang(k8s.io/apimachinery/pkg/runtime) BuildRequires: golang(k8s.io/apimachinery/pkg/runtime/schema) BuildRequires: golang(k8s.io/apimachinery/pkg/runtime/serializer) BuildRequires: golang(k8s.io/apimachinery/pkg/types) BuildRequires: golang(k8s.io/apimachinery/pkg/util/runtime) BuildRequires: golang(k8s.io/apimachinery/pkg/watch) BuildRequires: golang(k8s.io/client-go/discovery) BuildRequires: golang(k8s.io/client-go/discovery/fake) BuildRequires: golang(k8s.io/client-go/kubernetes/scheme) BuildRequires: golang(k8s.io/client-go/rest) BuildRequires: golang(k8s.io/client-go/testing) BuildRequires: golang(k8s.io/client-go/util/flowcontrol) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 20 18:27:03 CEST 2019 Robert-André Mauchin - 1.13.7-1.beta.0 - Initial package