# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/kubernetes/kubernetes %global goipath k8s.io/kubernetes %global forgeurl https://github.com/kubernetes/kubernetes Version: 1.28.1 %gometa %global common_description %{expand: Production-Grade Container Scheduling and Management.} %global golicenses LICENSES/LICENSE LICENSE-golang LICENSE-gonum\\\ LICENSE-gotestsum NOTICE-gotestsum\\\ LICENSE-shell2junit LICENSE-gimme\\\ LICENSE-qemu-user-static LICENSE-logo %global godocs docs CONTRIBUTING.md README.md\\\ SUPPORT.md code-of-conduct.md\\\ CHANGELOG/CHANGELOG-1.28.md Name: %{goname} Release: %autorelease Summary: Production-Grade Container Scheduling and Management # Apache-2.0: main program # CC-BY-4.0: logo/ # MIT: # - third_party/gimme # - third_party/multiarch/qemu-user-static # BSD-3-Clause: # - third_party/forked/golang # - third_party/forked/gonum # - third_party/protobuf License: Apache-2.0 AND CC-BY-4.0 AND MIT AND BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 mv LICENSES/third_party/forked/golang/LICENSE LICENSE-golang mv LICENSES/third_party/forked/gonum/graph/LICENSE LICENSE-gonum mv LICENSES/third_party/forked/gotestsum/LICENSE LICENSE-gotestsum mv LICENSES/third_party/forked/gotestsum/NOTICE NOTICE-gotestsum mv LICENSES/third_party/forked/shell2junit/LICENSE LICENSE-shell2junit mv LICENSES/third_party/gimme/LICENSE LICENSE-gimme mv LICENSES/third_party/multiarch/qemu-user-static/LICENSE LICENSE-qemu-user-static mv logo/LICENSE LICENSE-logo %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog