## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/go-kit/log %global goipath github.com/go-kit/log Version: 0.1.0 %gometa %global common_description %{expand: A minimal and extensible structured logger.} %global golicenses LICENSE term/LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: A minimal and extensible structured logger License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/go-logfmt/logfmt) %if %{with check} # Tests BuildRequires: golang(github.com/go-stack/stack) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Aug 10 2021 Robert-André Mauchin 0.1.0-2 - Uncommitted changes * Tue Aug 10 2021 Robert-André Mauchin 0.1.0-1 - Initial release