# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/kubernetes/api
%global goipath         k8s.io/api
%global forgeurl        https://github.com/kubernetes/api
Version:                1.28.1
%global tag             kubernetes-1.28.1
%global distprefix      %{nil}

%gometa

%global common_description %{expand:
The canonical location of the Kubernetes API definition.}

%global golicenses      LICENSE
%global godocs          CONTRIBUTING.md README.md code-of-conduct.md

Name:           %{goname}
Release:        %autorelease
Summary:        Canonical location of the Kubernetes API definition

License:        Apache-2.0
URL:            %{gourl}
Source:         %{gosource}

BuildRequires:  golang(k8s.io/apimachinery)

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog