## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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 1.6.0 %bcond_without check %global debug_package %{nil} # https://github.com/rs/zerolog %global goipath github.com/rs/zerolog Version: 1.26.1 %gometa %global common_description %{expand: The Zerolog package provides a fast and simple logger dedicated to JSON output. Zerolog's API is designed to provide both a great developer experience and stunning performance. Its unique chaining API allows zerolog to write JSON (or CBOR) log events by avoiding allocations and reflection. Uber's zap library pioneered this approach. Zerolog is taking this concept to the next level with a simpler to use API and even better performance.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Zero allocation JSON logger License: MIT URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %ifarch %{arm} # Test only runs on 64-bit arches rm internal/cbor/types_64_test.go %endif # journald test requires journald running %gocheck -d journald %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 1.26.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Mar 16 2022 Maxwell G 1.26.1-2 - Skip 64-bit test on %%%%{arm}. * Mon Mar 14 2022 Mikel Olasagasti Uranga 1.26.1-1 - Update to 1.26.1 - Closes rhbz#1942757 rhbz#2045612 * Thu Jan 20 2022 Fedora Release Engineering - 1.20.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.20.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.20.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 21 12:21:36 CET 2020 Robert-André Mauchin - 1.20.0-1 - Update to 1.20.0 - Close: rhbz#1878907 * Sat Aug 01 23:38:25 CEST 2020 Robert-André Mauchin - 1.19.0-1 - Update to 1.19.0 * Mon Jul 27 2020 Fedora Release Engineering - 1.17.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.17.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 02 2020 Elliott Sales de Andrade - 1.17.2-1 - Update to latest version * Thu Jul 25 2019 Fedora Release Engineering - 1.14.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 29 21:59:04 CEST 2019 Robert-André Mauchin - 1.14.3-1 - Initial package