# Generated by go2rpm %bcond_without check # https://github.com/cockroachdb/returncheck %global goipath github.com/cockroachdb/returncheck %global commit e91bb28baf9de4a530d3ae7f041953b23dcce9be %gometa %global common_description %{expand: Go return value checker.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Go return value checker # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/tools/go/loader) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck -d . %endif %gopkgfiles %changelog * Wed May 15 20:46:15 CEST 2019 Robert-André Mauchin - 0-0.1.20190515gite91bb28 - Initial package