# Generated by go2rpm
%bcond_without check
# https://github.com/mcuadros/go-syslog
%global goipath gopkg.in/mcuadros/go-syslog.v2
%global forgeurl https://github.com/mcuadros/go-syslog
Version: 2.2.1
%global commit a127d826d6c27489d377b3c080bd256d8f8093a6
%gometa
%global common_description %{expand:
Syslog server library for go.}
%global golicenses LICENSE
%global godocs example README.md
Name: %{goname}
Release: 1%{?dist}
Summary: Syslog server library for go
# Upstream license specification: BSD-2-Clause and MIT
# main library: MIT
# internal/syslogparser: BSD
License: BSD and MIT
URL: %{gourl}
Source0: %{gosource}
%if %{with check}
# Tests
BuildRequires: golang(gopkg.in/check.v1)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Sat May 18 20:42:48 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2.1-1.20190702gita127d82
- Initial package