Blob Blame History Raw
# 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.3.0

%gometa

%global common_description %{expand:
Syslog server library for go.}

%global golicenses      LICENSE
%global godocs          example README.md

Name:           %{goname}
Release:        2%{?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
# https://github.com/mcuadros/go-syslog/issues/64
%gocheck -d .
%endif

%gopkgfiles

%changelog
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Feb 05 02:48:44 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 2.3.0-1
- Update to 2.3.0

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sat May 18 20:42:48 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2.1-1.20190702gita127d82
- Initial package