## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 %bcond_without check # https://github.com/alexflint/go-arg %global goipath github.com/alexflint/go-arg Version: 1.4.3 %gometa %global common_description %{expand: Struct-based argument parsing in Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Struct-based argument parsing License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/alexflint/go-scalar) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 1.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 22 2022 Fabian Affolter 1.4.3-1 - Update to latest upstream release 1.4.3 (closes rhbz#2055534) * Thu Jan 20 2022 Fedora Release Engineering 1.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering 1.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 30 2021 Fabian Affolter 1.4.2-1 - * Sun May 30 2021 Fabian Affolter - 1.4.2-1 - Update to latest upstream version 1.4.2 * Tue May 25 2021 Fabian Affolter 1.4.1-1 - * Tue May 25 2021 Fabian Affolter - 1.4.1-1 - Update to latest upstream version 1.4.1 * Tue Jan 26 2021 Fedora Release Engineering 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jun 27 2020 Fabian Affolter 1.3.0-1 - * Tue Apr 21 2020 Fabian Affolter - 1.3.0-1 - Initial package