# 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 # Remove in F43 Provides: golang-github-schollz-pake-3 = %{version}-%{release} Obsoletes: golang-github-schollz-pake-3 < 3.0.3-5 %global godevelheader %{expand: Provides: golang-github-schollz-pake-3-devel = %{version}-%{release} Obsoletes: golang-github-schollz-pake-3-devel < 3.0.3-5} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog