## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 1.8.1 %bcond_without check %global debug_package %{nil} # https://github.com/sirupsen/logrus %global goipath github.com/sirupsen/logrus Version: 1.9.0 %gometa %global goaltipaths github.com/Sirupsen/logrus %global common_description %{expand: Logrus is a structured logger for Go, completely API compatible with the standard library logger.} %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Structured, pluggable logging for Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestCallerReportingOverhead" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog * Sat Sep 24 2022 Robert-André Mauchin 1.9.0-2 - Disable TestCallerReportingOverhead test * Sat Sep 24 2022 Robert-André Mauchin 1.9.0-1 - Update to 1.9.0 * Thu Jul 21 2022 Fedora Release Engineering - 1.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Aug 28 2021 Fabian Affolter - 1.8.1-1 - Update to latest upstream release 1.8.1 (closes #1929203) * Thu Jul 22 2021 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 22 03:30:57 CET 2020 Robert-André Mauchin - 1.7.0-1 - Update to 1.7.0 - Close: rhbz#1883289 * Sun Aug 02 19:30:19 CEST 2020 Robert-André Mauchin - 1.6.0-1 - Update to 1.6.0 * Mon Jul 27 2020 Fedora Release Engineering - 1.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Feb 04 20:20:00 CET 2020 Robert-André Mauchin - 1.4.2-1 - Update to 1.4.2 * Wed Jan 29 2020 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 05 2019 Elliott Sales de Andrade - 1.4.1-2 - Add Obsoletes for old name * Sat Apr 20 22:25:23 CEST 2019 Robert-André Mauchin - 1.4.1-1 - Release 1.4.1 * Thu Jan 31 2019 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 31 2018 Robert-André Mauchin - 1.1.1-1 - Release 1.1.1 * Tue Oct 23 2018 Nicolas Mailhot - 1.0.4-5.gitd682213 - 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.0.4-4.gitd682213 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 05 2018 Jan Chaloupka - 1.0.4-3.gitd682213 - Update to spec 3.0 * Fri Mar 02 2018 Jan Chaloupka - 1.0.4-2 - Autogenerate some parts using the new macros * Tue Feb 20 2018 Kaushal - 1.0.4-1 - Update to v1.0.4 - Use correct new source location s/Sirupsen/sirupsen/ - Provide both golang(github.com/sirupsen/logrus) and golang(github.com/Sirupsen/logrus) * Wed Feb 07 2018 Fedora Release Engineering - 0.8.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Oct 04 2017 Troy Dawson - 0.8.4-f10 - Cleanup spec file conditionals * Wed Aug 02 2017 Fedora Release Engineering - 0.8.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.8.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.8.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0.8.4-6 - https://fedoraproject.org/wiki/Changes/golang1.7 * Sun Mar 06 2016 jchaloup - 0.8.4-5 - Add hooks/bugsnag to provided packages related: #1246085 * Mon Feb 22 2016 Fedora Release Engineering - 0.8.4-4 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jul 23 2015 Fridolin Pokorny - 0.8.4-2 - Update spec file to spec-2.0 related: #1246085 * Thu Jul 23 2015 Fridolin Pokorny - 0.8.4-1 - Bump to upstream 3cb248e9df77413d58a6330dde84236d04c197d5 resolves: #1246085 * Wed Jun 17 2015 Fedora Release Engineering - 0.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jan 29 2015 jchaloup - 0.6.4-1 - Bump to upstream 51fe59aca108dc5680109e7b2051cbdcfa5a253c related: #1158670 * Fri Jan 02 2015 jchaloup - 0.6.2-1 - Update to 0.6.2 related: #1158670 * Sun Nov 30 2014 Lokesh Mandvekar - 0.6.0-1 - Update to 0.6.0 * Thu Oct 30 2014 Lokesh Mandvekar - 0.5.1-2 - Resolves: rhbz#1158670 - initial package bug - courtesy Jan Chaloupka - update dependencies - add check * Wed Oct 29 2014 Lokesh Mandvekar - 0.5.1-1 - Initial package