## START: Set by rpmautospec ## (rpmautospec version 0.6.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm %bcond_without check # https://github.com/bugsnag/panicwrap %global goipath github.com/bugsnag/panicwrap Version: 1.3.4 %gometa %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 Name: %{goname} Release: %autorelease Summary: Go library for catching and handling panics in Go applications License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock # RISCV fails similar to arm64 Patch0: 0001-Add-RISCV-as-valid-architecture.patch %description %{common_description} %gopkg %prep %goprep %patch -P0 -p1 cp %{S:1} %{S:2} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Mar 07 2024 Alejandro Sáez - 1.3.4-3 - Update patches * Thu Mar 7 2024 Packit - 1.3.4-1 - New release 1.3.4 * Wed Jan 24 2024 Fedora Release Engineering - 1.3.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 1.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin - 1.3.2-4 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629 * Thu Jan 20 2022 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 30 22:41:50 CEST 2021 Robert-André Mauchin - 1.3.2-1 - Update to 1.3.2 - Close: rhbz#1943416 * Tue Jan 26 2021 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 14 16:10:21 CET 2021 Robert-André Mauchin - 1.3.1-1 - Update to 1.3.1 - Close: rhbz#1915325 * Thu Jan 7 16:11:33 CET 2021 Robert-André Mauchin - 1.3.0-1 - Update to 1.3.0 - Close: rhbz#1913077 * Fri Jan 1 18:41:36 CET 2021 Robert-André Mauchin - 1.2.2-1 - Update to 1.2.2 - Close: rhbz#1479798 * Mon Jul 27 2020 Fedora Release Engineering - 1.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 13 2019 Elliott Sales de Andrade - 1.2.0-4 - Patch out usage of deprecated github.com/kardianos/osext * Wed May 01 18:04:33 CEST 2019 Robert-André Mauchin - 1.2.0-3 - Update to new macros * Thu Jan 31 2019 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 13 2018 Robert-André Mauchin - 1.2.0-1 - Release 1.2.0 * Tue Oct 23 2018 Nicolas Mailhot - 1.1.0-0.11.20160118gitaceac81 - 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/ * Fri Jul 13 2018 Fedora Release Engineering - 1.1.0-0.9.gitaceac81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 08 2018 Jan Chaloupka - 1.1.0-0.9.20160118gitaceac81 - Upload glide.lock and glide.yaml * Wed Feb 28 2018 Jan Chaloupka - 1.1.0-0.8.20160118gitaceac81 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 1.1.0-0.7.gitaceac81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.1.0-0.6.gitaceac81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.0-0.5.gitaceac81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.0-0.4.gitaceac81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Dec 17 2016 Jan Chaloupka - 1.1.0-0.3.gitaceac81 - Polish the spec file related: #1313834 * Thu Jul 21 2016 Fedora Release Engineering - 1.1.0-0.2.gitaceac81 - https://fedoraproject.org/wiki/Changes/golang1.7 * Wed Mar 02 2016 jchaloup - 1.1.0-0.1.gitaceac81 - Update to 1.1.0 resolves: #1313834 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.3.gite5f9854 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.2.gite5f9854 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Oct 08 2015 jchaloup - 0-0.1.gite5f9854 - First package for Fedora resolves: #1270034 ## END: Generated by rpmautospec