# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/google/go-github %global goipath github.com/google/go-github/v28 Version: 28.1.1 %gometa %global common_description %{expand: Go library for accessing the GitHub v3 API.} %global golicenses LICENSE github/licenses.go github/licenses_test.go %global godocs example AUTHORS CONTRIBUTING.md README.md example\\\ scrape/README.md Name: %{goname} Release: %autorelease Summary: Go library for accessing the GitHub v3 API License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %install %gopkginstall %if %{with check} %check # github: broken on Rawhide: github_test.go:115: Header.Get("Content-Type") returned "application/octet-stream", want "text/plain; charset=utf-8" %gocheck -d github %endif %files %license LICENSE github/licenses.go github/licenses_test.go %doc example AUTHORS CONTRIBUTING.md README.md example scrape/README.md %gopkgfiles %changelog %autochangelog