Blob Blame History Raw
# Generated by go2rpm 1.8.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/fluent/fluent-logger-golang
%global goipath         github.com/fluent/fluent-logger-golang
Version:                1.9.0

%gometa

%global common_description %{expand:
A structured logger for Fluentd.}

%global golicenses      LICENSE
%global godocs          _examples CHANGELOG.md README.md

Name:           %{goname}
Release:        %autorelease
Summary:        A structured logger for Fluentd (Golang)

License:        Apache-2.0
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog