## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/integrii/flaggy %global goipath github.com/integrii/flaggy Version: 1.5.2 %gometa -f %global common_description %{expand: Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Idiomatic Go input parsing library License: Unlicense URL: %{gourl} Source: %{gosource} # Required to pass building on f37; drop this in f38+ BuildRequires: golang(github.com/google/go-cmp/cmp) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Jul 17 2023 Link Dupont - 1.5.2-1 - Initial package