## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/quay/zlog %global goipath github.com/quay/zlog %global commit ce16eed1dcec2b87406b9e69e6e73e70765434d0 %gometa %global common_description %{expand: Contextual logging for go.} %global golicenses LICENSE NOTICE Name: %{goname} Version: 0 Release: %autorelease -p Summary: Contextual logging for go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} Patch0: Use-new-opentelemetry-attribute.patch BuildRequires: golang(github.com/rs/zerolog) BuildRequires: golang(github.com/rs/zerolog/log) BuildRequires: golang(go.opentelemetry.io/otel-0.20/baggage) BuildRequires: golang(go.opentelemetry.io/otel-0.20/attribute) %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 0-0.2 - Uncommitted changes * Sat Sep 18 2021 Robert-André Mauchin 0-0.1 - Initial release