# Generated by go2rpm 1 %bcond_without check # https://github.com/jcmturner/rpc %global goipath gopkg.in/jcmturner/rpc.v1 %global forgeurl https://github.com/jcmturner/rpc Version: 1.1.0 %gometa %global common_description %{expand: Remote Procedure Call libraries (http://pubs.opengroup.org/onlinepubs/9629399/).} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Remote Procedure Call libraries # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-jcmturner-rpc-1 = %{version}-%{release} Obsoletes: golang-gopkg-jcmturner-rpc-1 < 1.1.0-8 %global godevelheader %{expand: Provides: golang-gopkg-jcmturner-rpc-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-jcmturner-rpc-1-devel < 1.1.0-8} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog