## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/marten-seemann/qtls-go1-17 %global goipath github.com/marten-seemann/qtls-go1-17 Version: 0.1.0 %gometa %global common_description %{expand: Go standard library TLS 1.3 implementation, modified for QUIC. For Go 1.17.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Go standard library TLS 1.3 implementation, modified for QUIC. For Go 1.17 # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/crypto/chacha20poly1305) BuildRequires: golang(golang.org/x/crypto/cryptobyte) BuildRequires: golang(golang.org/x/crypto/curve25519) BuildRequires: golang(golang.org/x/crypto/hkdf) BuildRequires: golang(golang.org/x/sys/cpu) %if %{with check} # Tests BuildRequires: golang(github.com/golang/mock/gomock) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Sep 13 2021 Robert-André Mauchin 0.1.0-2 - Uncommitted changes * Mon Sep 13 2021 Robert-André Mauchin 0.1.0-1 - Initial release