# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/kubernetes/apimachinery %global goipath k8s.io/apimachinery %global forgeurl https://github.com/kubernetes/apimachinery Version: 1.28.1 %global tag kubernetes-1.28.1 %global distprefix %{nil} %gometa %global common_description %{expand: Scheme, typing, encoding, decoding, and conversion packages for Kubernetes and Kubernetes-like API objects.} %global golicenses LICENSE LICENSE-golang PATENTS-golang %global godocs CONTRIBUTING.md README.md code-of-conduct.md Name: %{goname} Release: %autorelease Summary: None License: BSD-3-Clause AND Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 mv third_party/forked/golang/LICENSE LICENSE-golang mv third_party/forked/golang/PATENTS PATENTS-golang %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck -t pkg/util/managedfields %endif %gopkgfiles %changelog %autochangelog