## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %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.9.0 %bcond_without check # https://git.sr.ht/~nelsam/hel %global goipath git.sr.ht/~nelsam/hel %global forgeurl https://git.sr.ht/~nelsam/hel Version: 0.4.6 %global tag v%{version} %gometa -f %global common_description %{expand: Hel is the norse goddess that rules over Helheim, where the souls of those who did not die in battle go. This little tool is similar; it generates (hopefully simple) mocks of Go interface types and stores them in helheim_test.go (by default).} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Mock generator for Go License: Unlicense URL: %{gourl} Source: %{gosource} %description %{common_description} %package -n hel Summary: %{summary} %description -n hel %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/hel %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files -n hel %license LICENSE %doc CONTRIBUTING.md README.md %{_bindir}/hel %gopkgfiles %changelog ## START: Generated by rpmautospec * Sun Feb 11 2024 Maxwell G - 0.4.6-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 12 2023 Davide Cavalca - 0.4.6-1 - Initial import; Fixes: RHBZ#2227434 ## END: Generated by rpmautospec