%bcond_with check %global goipath github.com/kolo/xmlrpc %global commit 0826b98aaa29c0766956cb40d45cf7482a597671 Version: 0 %global common_description %{expand: Implementation of XMLRPC protocol in Go language.} %gometa Name: %{goname} Release: 0.1%{?dist} Summary: Implementation of XMLRPC protocol in Go language License: MIT URL: %{gourl} Source: %{gosource} BuildRequires: golang(golang.org/x/text/encoding/charmap) BuildRequires: golang(golang.org/x/text/transform) %description %{common_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{common_description} This package contains the source code needed for building packages that import the %{goipath} Go namespace. %prep %gosetup -q rm -rf vendor %install %goinstall %check %if %{with check} %gochecks %endif %files devel -f devel.file-list %license LICENSE %doc *\.md %changelog * Sat May 13 2018 Paul Gier - 0-0.1.20180513git0826b9 - First package for Fedora