2019-05-01 16:34:20 +00:00
|
|
|
|
# Generated by go2rpm
|
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
# https://github.com/bugsnag/panicwrap
|
2018-06-08 20:55:13 +00:00
|
|
|
|
%global goipath github.com/bugsnag/panicwrap
|
2018-11-13 16:04:32 +00:00
|
|
|
|
Version: 1.2.0
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
2018-11-13 16:04:32 +00:00
|
|
|
|
%gometa
|
2018-02-28 09:51:41 +00:00
|
|
|
|
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%global common_description %{expand:
|
|
|
|
|
Panicwrap is a Go library that re-executes a Go binary and monitors stderr
|
|
|
|
|
output from the binary for a panic. When it find a panic, it executes a
|
|
|
|
|
user-defined handler function. Stdout, stderr, stdin, signals, and exit codes
|
|
|
|
|
continue to work as normal, making the existence of panicwrap mostly invisble to
|
|
|
|
|
the end user until a panic actually occurs.
|
|
|
|
|
|
|
|
|
|
Since a panic is truly a bug in the program meant to crash the runtime, globally
|
|
|
|
|
catching panics within Go applications is not supposed to be possible. Despite
|
|
|
|
|
this, it is often useful to have a way to know when panics occur. panicwrap
|
|
|
|
|
allows you to do something with these panics, such as writing them to a file, so
|
|
|
|
|
that you can track when panics occur.
|
|
|
|
|
|
|
|
|
|
Panicwrap is not a panic recovery system. Panics indicate serious problems with
|
|
|
|
|
your application and should crash the runtime. panicwrap is just meant as a way
|
|
|
|
|
to monitor for panics. If you still think this is the worst idea ever, read the
|
|
|
|
|
section below on why.}
|
|
|
|
|
|
|
|
|
|
%global golicenses LICENSE
|
|
|
|
|
%global godocs CHANGELOG.md README.md
|
|
|
|
|
|
|
|
|
|
%global gosupfiles glide.lock glide.yaml
|
|
|
|
|
|
2018-02-28 09:51:41 +00:00
|
|
|
|
Name: %{goname}
|
2019-05-01 16:34:20 +00:00
|
|
|
|
Release: 3%{?dist}
|
2015-10-19 13:26:36 +00:00
|
|
|
|
Summary: Go library for catching and handling panics in Go applications
|
2019-05-01 16:34:20 +00:00
|
|
|
|
|
2015-10-19 13:26:36 +00:00
|
|
|
|
License: MIT
|
2018-02-28 09:51:41 +00:00
|
|
|
|
URL: %{gourl}
|
|
|
|
|
Source0: %{gosource}
|
2019-05-01 16:34:20 +00:00
|
|
|
|
Source1: glide.yaml
|
|
|
|
|
Source2: glide.lock
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
2019-05-01 16:34:20 +00:00
|
|
|
|
BuildRequires: golang(github.com/kardianos/osext)
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%gopkg
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
|
|
|
|
%prep
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%goprep
|
|
|
|
|
cp %{S:1} %{S:2} .
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
|
|
|
|
%install
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%gopkginstall
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%if %{with check}
|
2015-10-19 13:26:36 +00:00
|
|
|
|
%check
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%gocheck
|
|
|
|
|
%endif
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
2019-05-01 16:34:20 +00:00
|
|
|
|
%gopkgfiles
|
2015-10-19 13:26:36 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2019-05-01 16:34:20 +00:00
|
|
|
|
* Wed May 01 18:04:33 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-3
|
|
|
|
|
- Update to new macros
|
|
|
|
|
|
2019-01-31 23:48:56 +00:00
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
2018-11-13 16:04:32 +00:00
|
|
|
|
* Tue Nov 13 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.0-1
|
|
|
|
|
- Release 1.2.0
|
|
|
|
|
|
|
|
|
|
* Tue Oct 23 2018 Nicolas Mailhot <nim@fedoraproject.org> - 1.1.0-0.11.20160118gitaceac81
|
2018-10-23 20:39:30 +00:00
|
|
|
|
- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias
|
|
|
|
|
- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/
|
|
|
|
|
|
2018-11-13 16:04:32 +00:00
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-0.9.gitaceac81
|
2018-07-13 03:22:12 +00:00
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
2018-11-13 16:04:32 +00:00
|
|
|
|
* Fri Jun 08 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.1.0-0.9.20160118gitaceac81
|
2018-06-08 20:55:13 +00:00
|
|
|
|
- Upload glide.lock and glide.yaml
|
|
|
|
|
|
2018-02-28 09:51:41 +00:00
|
|
|
|
* Wed Feb 28 2018 Jan Chaloupka <jchaloup@redhat.com> - 1.1.0-0.8.20160118gitaceac81
|
|
|
|
|
- Autogenerate some parts using the new macros
|
|
|
|
|
|
2018-02-07 14:01:47 +00:00
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-0.7.gitaceac81
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
2017-08-02 22:20:21 +00:00
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-0.6.gitaceac81
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
2017-07-26 11:11:06 +00:00
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-0.5.gitaceac81
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
2017-02-10 11:41:22 +00:00
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-0.4.gitaceac81
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
2016-12-17 15:02:15 +00:00
|
|
|
|
* Sat Dec 17 2016 Jan Chaloupka <jchaloup@redhat.com> - 1.1.0-0.3.gitaceac81
|
|
|
|
|
- Polish the spec file
|
|
|
|
|
related: #1313834
|
|
|
|
|
|
2016-07-21 12:55:14 +00:00
|
|
|
|
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-0.2.gitaceac81
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
|
|
|
2016-03-02 12:23:12 +00:00
|
|
|
|
* Wed Mar 02 2016 jchaloup <jchaloup@redhat.com> - 1.1.0-0.1.gitaceac81
|
|
|
|
|
- Update to 1.1.0
|
|
|
|
|
resolves: #1313834
|
|
|
|
|
|
2016-02-22 18:09:06 +00:00
|
|
|
|
* Mon Feb 22 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-0.3.gite5f9854
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/golang1.6
|
|
|
|
|
|
2016-02-03 22:47:05 +00:00
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.gite5f9854
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
2015-10-19 13:26:36 +00:00
|
|
|
|
* Thu Oct 08 2015 jchaloup <jchaloup@redhat.com> - 0-0.1.gite5f9854
|
|
|
|
|
- First package for Fedora
|
|
|
|
|
resolves: #1270034
|