# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/kubernetes/gengo %global goipath k8s.io/gengo %global forgeurl https://github.com/kubernetes/gengo %global commit 9cce18d56c01fab1d8ed72411ad6ef7005fc33a4 %gometa %global common_description %{expand: Gengo library for code generation.} %global golicenses LICENSE %global godocs examples CONTRIBUTING.md README.md SECURITY.md code-\\\ of-conduct.md %global gosupfiles ${examples[@]} Name: %{goname} Version: 0 Release: %autorelease -p Summary: Gengo library for code generation License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install mapfile -t examples <<< $(find examples -type f) %gopkginstall %if %{with check} %check %gocheck -d parser %endif %gopkgfiles %changelog %autochangelog