# Generated by go2rpm 1.10.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/aphistic/golf
%global goipath         github.com/aphistic/golf

# Avoid b8be15e3b5efdfdbdb6203079a06c80aba4d52df ("Update tests to use sweet"),
# because we cannot package sweet. For why we cannot package sweet,
# see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2256306.
%global commit          b8be15e3b5efdfdbdb6203079a06c80aba4d52df

%gometa -L -f

%global common_description %{expand:
Client library written in Go for sending messages to Graylog Extended Log
Format (GELF) servers. Allows per-message and global attributes to be attached
to messages.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           golang-github-aphistic-golf
Version:        0
Release:        %autorelease -p
Summary:        Client library written in Go for sending messages to Graylog Extended Log Format (GELF) servers. Allows per-message and global attributes to be attached to messages

License:        MIT
URL:            %{gourl}
Source:         %{gosource}

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

%if %{with check}
%check
%gocheck -d .
%endif

%gopkgfiles

%changelog
%autochangelog
