# Generated by go2rpm 1 %bcond_without check # https://github.com/jcmturner/rpc %global goipath github.com/jcmturner/rpc Version: 2.0.2 %gometa %global common_description %{expand: Remote Procedure Call libraries (http://pubs.opengroup.org/onlinepubs/9629399/).} %global golicenses LICENSE %global godocs v2/examples v2/README.md Name: %{goname} Release: 1%{?dist} Summary: Remote Procedure Call libraries # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(golang.org/x/net/http2/hpack) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check sed -i 's|github.com/jcmturner/rpc|github.com/jcmturner/rpc/v2|' $(find . -maxdepth 2 -iname "*go" -type f) %gocheck %endif %gopkgfiles %changelog * Tue Jul 28 22:20:14 CEST 2020 Robert-André Mauchin - 2.0.2-1 - Initial package