# Generated by go2rpm %bcond_without check # https://github.com/tdewolff/parse %global goipath github.com/tdewolff/parse Version: 2.6.0 %gometa %global goaltipaths github.com/tdewolff/parse/v2 %global common_description %{expand: Go parsers for web formats.} %global golicenses LICENSE.md %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go parsers for web formats License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/tdewolff/test) >= 1.0.6 %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog