Blame golang-gopkg-mcuadros-syslog-2.spec

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