# Generated by go2rpm 1.8.2 %bcond_without check %bcond_without bootstrap %global debug_package %{nil} # https://github.com/kubernetes/client-go %global goipath k8s.io/client-go %global forgeurl https://github.com/kubernetes/client-go Version: 1.26.0~rc.0 %global tag kubernetes-1.26.0-rc.0 %global distprefix %{nil} %gometa %global common_description %{expand: Go clients for talking to a Kubernetes cluster.} %global golicenses LICENSE %global godocs examples CHANGELOG.md CONTRIBUTING.md INSTALL.md\\\ README.md code-of-conduct.m Name: %{goname} Release: %autorelease Summary: Go client for Kubernetes License: BSD-3-Clause AND Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check for test in "Example_mergingSomeWithConflict" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck -d tools/clientcmd %endif %endif %gopkgfiles %changelog %autochangelog