# Generated by go2rpm %bcond_without check # https://github.com/containerd/cgroups %global goipath github.com/containerd/cgroups %global commit 4994991857f9b0ae8dc439551e8bebdbb4bf66c1 %gometa %global common_description %{expand: Go package for creating, managing, inspecting, and destroying cgroups.} %global golicenses LICENSE %global godocs README.md metrics.pb.txt Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Cgroups package for Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/coreos/go-systemd/dbus) BuildRequires: golang(github.com/docker/go-units) BuildRequires: golang(github.com/godbus/dbus) BuildRequires: golang(github.com/gogo/protobuf/gogoproto) BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/opencontainers/runtime-spec/specs-go) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(golang.org/x/sys/unix) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 01 15:42:34 CEST 2019 Robert-André Mauchin - 0-0.1.20190501git4994991 - Initial package