# Generated by go2rpm 1 %bcond_without check # https://github.com/cockroachdb/errors %global goipath github.com/cockroachdb/errors Version: 1.5.0 %gometa %global common_description %{expand: Go error library with error portability over the network.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Go error library with error portability over the network # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cockroachdb/logtags) BuildRequires: golang(github.com/cockroachdb/sentry-go) BuildRequires: golang(github.com/gogo/protobuf/gogoproto) BuildRequires: golang(github.com/gogo/protobuf/proto) BuildRequires: golang(github.com/gogo/protobuf/types) BuildRequires: golang(github.com/gogo/status) BuildRequires: golang(github.com/golang/protobuf/proto) BuildRequires: golang(github.com/kr/pretty) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(google.golang.org/grpc) BuildRequires: golang(google.golang.org/grpc/codes) BuildRequires: golang(google.golang.org/grpc/status) %if %{with check} # Tests BuildRequires: golang(github.com/hydrogen18/memlistener) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Jul 25 06:46:30 CEST 2020 Robert-André Mauchin - 1.5.0-1 - Initial package