## 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.5.0 %bcond_without check # https://github.com/jedisct1/go-hpke-compact %global goipath github.com/jedisct1/go-hpke-compact Version: 0.9.0 %global tag 0.9.0 %gometa %global common_description %{expand: A small and easy to use HPKE implementation in Go.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Small and easy to use HPKE implementation in Go License: ISC URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/crypto/chacha20poly1305) BuildRequires: golang(golang.org/x/crypto/curve25519) BuildRequires: golang(golang.org/x/crypto/hkdf) %if %{with check} # Tests BuildRequires: golang(github.com/powerman/check) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * dim. oct. 03 2021 Robert-André Mauchin 0.9.0-1 - Initial release