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
|
2021-05-30 20:45:38 +00:00
|
|
|
|
Version: 1.3.2
|
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}
|
2023-01-19 06:26:33 +00:00
|
|
|
|
Release: 6%{?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
|
2021-05-30 21:38:35 +00:00
|
|
|
|
# 1.3.2 introduced a bug where dup2.go waas being built on Linux aarch64
|
|
|
|
|
# where that syscall doesn't exist
|
|
|
|
|
# https://github.com/bugsnag/panicwrap/issues/20
|
|
|
|
|
Patch0: 0001-Prevent-the-build-of-dup2.go-on-Linux-aarch64.patch
|
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
|
2021-05-30 21:38:35 +00:00
|
|
|
|
%patch0 -p1
|
2019-05-01 16:34:20 +00:00
|
|
|
|
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
|
2023-01-19 06:26:33 +00:00
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
2022-07-21 07:50:31 +00:00
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
2022-06-17 21:33:09 +00:00
|
|
|
|
* Fri Jun 17 2022 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.2-4
|
|
|
|
|
- Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191,
|
|
|
|
|
CVE-2022-29526, CVE-2022-30629
|
|
|
|
|
|
2022-01-20 07:28:12 +00:00
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
2021-07-22 03:03:34 +00:00
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
2021-05-30 21:38:35 +00:00
|
|
|
|
* Sun May 30 22:41:50 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.2-1
|
|
|
|
|
- Update to 1.3.2
|
|
|
|
|
- Close: rhbz#1943416
|
|
|
|
|
|
2021-01-26 09:24:48 +00:00
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
2021-01-14 15:11:15 +00:00
|
|
|
|
* Thu Jan 14 16:10:21 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.1-1
|
|
|
|
|
- Update to 1.3.1
|
|
|
|
|
- Close: rhbz#1915325
|
|
|
|
|
|
2021-01-07 15:11:59 +00:00
|
|
|
|
* Thu Jan 7 16:11:33 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.0-1
|
|
|
|
|
- Update to 1.3.0
|
|
|
|
|
- Close: rhbz#1913077
|
|
|
|
|
|
2021-01-01 18:41:03 +00:00
|
|
|
|
* Fri Jan 1 18:41:36 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.2-1
|
|
|
|
|
- Update to 1.2.2
|
|
|
|
|
- Close: rhbz#1479798
|
|
|
|
|
|
2020-07-27 21:19:45 +00:00
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
2020-01-28 23:40:05 +00:00
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
2019-07-25 04:53:16 +00:00
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
2019-07-13 09:05:25 +00:00
|
|
|
|
* Sat Jul 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-4
|
|
|
|
|
- Patch out usage of deprecated github.com/kardianos/osext
|
|
|
|
|
|
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
|