# Generated by go2rpm 1 %bcond_without check # https://github.com/labstack/gommon %global goipath github.com/labstack/gommon Version: 0.3.0 %gometa %global common_description %{expand: Common packages for Go.} %global golicenses LICENSE %global godocs README.md log/README.md color/README.md\\\ bytes/README.md Name: %{goname} Release: 1%{?dist} Summary: Common packages for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mattn/go-colorable) BuildRequires: golang(github.com/mattn/go-isatty) BuildRequires: golang(github.com/valyala/fasttemplate) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Aug 26 12:42:34 CEST 2020 Ondřej Budai - 0.3.0-1 - Initial package