# Generated by go2rpm %bcond_without check # https://github.com/elastic/gosigar %global goipath github.com/elastic/gosigar Version: 0.10.2 %gometa %global common_description %{expand: Go sigar is a Golang implementation of the sigar API. The Go version of sigar has a very similar interface, but is being written from scratch in pure go/cgo, rather than cgo bindings for libsigar.} %global golicenses LICENSE NOTICE %global godocs examples CHANGELOG.md README.md psnotify/README.md Name: %{goname} Release: 1%{?dist} Summary: Gathers system and per process statistics # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/Sirupsen/logrus) BuildRequires: golang(golang.org/x/sys/unix) %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 15 21:09:59 CEST 2019 Robert-André Mauchin - 0.10.2-1 - Initial package