# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/AdamSLevy/jsonrpc2 %global goipath github.com/AdamSLevy/jsonrpc2/v14 %global forgeurl https://github.com/AdamSLevy/jsonrpc2 Version: 14.1.0 %gometa -f %global common_description %{expand: Golang package for implementing a JSON RPC 2.0 server or client.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Golang package for implementing a JSON RPC 2.0 server or client License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # segfault rm -rfv example_test.go %gocheck %endif %gopkgfiles %changelog %autochangelog