# Run tests in check section %bcond_without check %global goipath github.com/shurcooL/graphql %global commit 3d276b9dcc6b1e0adf19557a8de5cb8632c07697 %global common_description %{expand: Events service definition for Go.} %gometa Name: %{goname} Version: 0 Release: 0.2%{?dist} Summary: Events service definition for Go Group: Development/Other License: MIT URL: %{gourl} Source0: %{gosource} BuildArch: noarch BuildRequires: golang(github.com/shurcooL/go/ctxhttp) %description %{common_description} %package devel Summary: %{summary} %description devel %{common_description} This package contains library source intended for building other packages which use import path with %{goipath} prefix. %prep %forgeautosetup %install %goinstall %if %{with check} %check %gochecks %endif %files devel -f devel.file-list %license LICENSE %doc README.md %changelog * Tue Nov 27 2018 pterjan <pterjan> 0-0.2.mga7 + Revision: 1336065 - imported package golang-github-shurcool-graphql