# Generated by go2rpm %bcond_without check # https://github.com/aphistic/sweet %global goipath github.com/aphistic/sweet %global commit 68e18ab55a67ccf98d3da94898393c15595c56f0 %gometa %global common_description %{expand: Sweet is a pluggable test runner capable of hooking into standard Go tests. It attempts to provide access to the standard Go test tool as close as possible while adding support for test suites and plugins that can hook into test results to add additional functionality.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Pluggable test runner capable of hooking into standard go tests License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/mgutz/ansi) BuildRequires: golang(golang.org/x/crypto/ssh/terminal) %if %{with check} # Tests BuildRequires: golang(github.com/onsi/gomega) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # https://github.com/aphistic/sweet/issues/14 %gocheck -d failtests %endif %gopkgfiles %changelog * Fri Apr 26 21:42:47 CEST 2019 Robert-André Mauchin - 0-0.1.20190426git68e18ab - Initial package