diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d12f7e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/raven-go-919484f041ea21e7e27be291cee1d6af7bc98864.tar.gz diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..1602eb6 --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: a4f2f5546bfdfa40536400bcfa15e2388bd4a1312c5c42f50743571625064db8 +imports: [] +updated: '2018-06-09T22:59:18.682472+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..573018e --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/getsentry/raven-go + diff --git a/golang-github-getsentry-raven.spec b/golang-github-getsentry-raven.spec new file mode 100644 index 0000000..f7ebcd5 --- /dev/null +++ b/golang-github-getsentry-raven.spec @@ -0,0 +1,63 @@ +# 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.20190628git919484f +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..3f84a58 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (raven-go-919484f041ea21e7e27be291cee1d6af7bc98864.tar.gz) = 6514f70825860bca70a3925703a36042bca258f31df2ae005663a0a2c34e24ebc01b86f0d7510c4f3408e99791f3683098d9d12f8859d37f75c86b4408f16069