## 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.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/go-task/slim-sprig %global goipath github.com/go-task/slim-sprig Version: 3.2.0 %global commit afa1e2071829e4db655eb448d6c7c16eb0bc5766 %gometa %global common_description %{expand: Useful template functions for Go templates.} %global golicenses LICENSE.txt %global godocs docs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Useful template functions for Go templates License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check rm -vf network_test.go %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 3.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 09 2022 Maxwell G 3.2.0-1 - Initial package