# Generated by go2rpm %bcond_without check # https://github.com/getsentry/raven-go %global goipath github.com/getsentry/raven-go Version: 0.2.0 %global commit 919484f041ea21e7e27be291cee1d6af7bc98864 %gometa %global common_description %{expand: Package Raven implements a client for the Sentry error logging service.} %global golicenses LICENSE %global godocs example README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Release: 1%{?dist} Summary: Sentry client in Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildRequires: golang(github.com/certifi/gocertifi) BuildRequires: golang(github.com/pkg/errors) %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %install %gopkginstall # Remove in F33 # Remove erroneous glide.lock folder %pretrans devel -p path = "%{gopath}/src/%{goipath}/glide.lock" st = posix.stat(path) if st and st.type == "directory" then os.remove(path) end %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 06 22:02:55 CEST 2019 Robert-André Mauchin - 0.2.0-1.20190506git919484f - Initial package