## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/twpayne/go-pinentry %global goipath github.com/twpayne/go-pinentry Version: 0.2.0 %gometa %global common_description %{expand: Package pinentry provides a client to GnuPG's pinentry.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Package pinentry provides a client to GnuPG's pinentry License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/mock/gomock) %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Apr 19 2022 laiot 0.2.0-1 - first commit