# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/cyberphone/json-canonicalization %global goipath github.com/cyberphone/json-canonicalization %global forgeurl https://github.com/cyberphone/json-canonicalization %global commit aa7fe85c7dbde6bf02ae80a7ed99d09e1a6a37cb %gometa %global common_description %{expand: The jsoncanonicalizer folder contains the source code for a JCS (RFC 8785) compliant JSON canonicalizer written in Go.} %global golicenses LICENSE %global godocs JSON.canonify.md REST.signatures.md go/README.md Name: %{goname} Version: 0 Release: %autorelease Summary: JSON Canonicalizer for Go License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 sed -i "s|webpki.org/jsoncanonicalizer|github.com/cyberphone/json-canonicalization/go/src/webpki.org/jsoncanonicalizer|" $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog