# Generated by go2rpm 1 %bcond_without check # https://github.com/cockroachdb/sentry-go %global goipath github.com/cockroachdb/sentry-go Version: 0.6.1 %global tag v0.6.1-cockroachdb.2 %global distprefix %{nil} %gometa # To package later, extensive dependency tree %global goipathsex github.com/cockroachdb/sentry-go/iris github.com/cockroachdb/sentry-go/echo %global common_description %{expand: Official Sentry SDK for Go.} %global golicenses LICENSE %global godocs example CHANGELOG.md CONTRIBUTING.md MIGRATION.md\\\ README.md Name: %{goname} Release: 1%{?dist} Summary: Official Sentry SDK for Go # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} # Go 1.15: https://github.com/golang/go/issues/32479 Patch0: 0001-Convert-int-to-string-using-strconv.Itoa.patch BuildRequires: golang(github.com/gin-gonic/gin) BuildRequires: golang(github.com/go-martini/martini) # BuildRequires: golang(github.com/kataras/iris/v12) # BuildRequires: golang(github.com/labstack/echo/v4) # BuildRequires: golang(github.com/labstack/echo/v4/middleware) BuildRequires: golang(github.com/urfave/negroni) BuildRequires: golang(github.com/valyala/fasthttp) %if %{with check} # Tests BuildRequires: golang(github.com/go-errors/errors) BuildRequires: golang(github.com/google/go-cmp/cmp) BuildRequires: golang(github.com/google/go-cmp/cmp/cmpopts) BuildRequires: golang(github.com/pingcap/errors) BuildRequires: golang(github.com/pkg/errors) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Aug 12 18:05:47 CEST 2020 Robert-André Mauchin - 0.6.1-1 - Initial package