# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/googleapis/gax-go %global goipath github.com/googleapis/gax-go/v2 %global forgeurl https://github.com/googleapis/gax-go Version: 2.12.0 %gometa %global common_description %{expand: Google API Extensions for Go.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md README.md\\\ RELEASING.md SECURITY.md CHANGES.md Name: %{goname} Release: %autorelease Summary: Google API Extensions for Go License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 find . ! \( -name v2 -o -name _build -o -name CODE_OF_CONDUCT.md -o -name CONTRIBUTING.md -o -name README.md -o -name RELEASING.md -o -name SECURITY.md \) -maxdepth 1 -exec rm -rvf {} \; mv v2/* . %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog