## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 4;
    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/genuinetools/pkg
%global goipath         github.com/genuinetools/pkg
%global commit          2fcf164d37cbd1a3a7636033da231aab22f73434

%gometa

%global common_description %{expand:
A home for various Go packages to be imported by other projects.}

%global golicenses      LICENSE
%global godocs          README.md VERSION.txt

Name:           %{goname}
Version:        0
Release:        %autorelease -p
Summary:        A home for various Go packages to be imported by other projects

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Sat Sep 18 2021 Robert-André Mauchin <zebob.m@gmail.com> 0-0.1
- Initial release