## 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/schollz/pake %global goipath github.com/schollz/pake/v3 Version: 3.0.3 %gometa %global common_description %{expand: PAKE library for generating a strong secret between parties over an insecure channel.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: PAKE library for generating a strong secret between parties License: MIT URL: %{gourl} Source0: %{gosource} # Add curve point tests Patch1: %{url}/commit/e49974075fb2bbc8b9fbaef1d1ee4358e004a0cc.patch # fix: modulo underlying prime for go1.18 Patch2: %{url}/commit/f3884c59208188000a93fd2dfe414651c3558b42.patch %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 22 2022 Davide Cavalca 3.0.3-1 - Initial import; Fixes: RHBZ#1980193