# Run tests in check section %bcond_without check # https://github.com/anmitsu/go-shlex %global goipath github.com/anmitsu/go-shlex %global commit 38f4b401e2be5955e3e00b843d96e3c406f5094d %gometa %global common_description %{expand: go-shlex is a library to make a lexical analyzer like Unix shell for Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %mkrel 1 Summary: Library to make a lexical analyzer like Unix shell for golang Group: Development/Golang License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles