## START: Set by rpmautospec ## (rpmautospec version 0.6.3) ## RPMAUTOSPEC: autorelease, autochangelog %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.11.0 %bcond_without check # https://github.com/tulir/mauflag %global goipath maunium.net/go/mauflag %global forgeurl https://github.com/tulir/mauflag Version: 1.0.0 %gometa -L -f %global common_description %{expand: An extendable argument parser for Golang.} %global golicenses LICENSE %global godocs README.md Name: golang-maunium-mauflag Release: %autorelease Summary: An extendable argument parser for Golang License: GPL-3.0-only URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build for cmd in flagtest; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc README.md %{_bindir}/* %gopkgfiles %changelog ## START: Generated by rpmautospec * Fri Mar 15 2024 Kai A. Hiller - 1.0.0-3 - Regenerate with go2rpm 1.11.0 * Fri Mar 15 2024 Kai A. Hiller - 1.0.0-2 - Regenerate with go2rpm 1.10.0 * Wed Nov 22 2023 Kai A. Hiller - 1.0.0-1 - Initial commit ## END: Generated by rpmautospec