## 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://github.com/aead/minisign %global goipath aead.dev/minisign %global forgeurl https://github.com/aead/minisign Version: 0.2.1 %gometa -f %global common_description %{expand: A dead simple tool to sign files and verify digital signatures.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: A dead simple tool to sign files and verify digital signatures License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %build # rename to go-minisign to avoid conflict with existing minisign package %gobuild -o %{gobuilddir}/bin/go-minisign %{goipath}/cmd/minisign %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 * Sun Feb 11 2024 Maxwell G - 0.2.1-4 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Nov 03 2023 Mikel Olasagasti Uranga - 0.2.1-1 - Update to 0.2.1 - Closes rhbz#2247451 * Thu Jul 20 2023 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 30 2023 Mikel Olasagasti Uranga - 0.2.0-1 - Initial package - Closes rhbz#2215864 ## END: Generated by rpmautospec