Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

%global debug_package %{nil}

# https://github.com/jedisct1/dlog
%global goipath         github.com/jedisct1/dlog
Version:                0.7
%global tag             0.7

%gometa

%global common_description %{expand:
A super simple logger for Go. Supports stderr, logfiles, syslog and windows
event log.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Super simple logger for Go

# Upstream license specification: BSD-2-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/hashicorp/go-syslog)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
%autochangelog