Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/revel/log15
%global goipath         github.com/revel/log15
Version:                2.11.20

%gometa

%global common_description %{expand:
Package log15 provides an opinionated, simple toolkit for best-practice logging
in Go (golang) that is both human and machine readable. It is modeled after the
Go standard library's io and net/http packages and is an alternative to the
standard library's log package.}

%global golicenses      LICENSE
%global godocs          CONTRIBUTORS README.md

Name:           %{goname}
Release:        4%{?dist}
Summary:        Structured, composable logging for Go

# Upstream license specification: MIT and Apache-2.0
License:        MIT and ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/inconshreveable/log15)
BuildRequires:  golang(github.com/inconshreveable/log15/term)
BuildRequires:  golang(github.com/mattn/go-colorable)
BuildRequires:  golang(gopkg.in/stack.v0)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

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

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

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

* Wed May 01 18:51:44 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.11.20-1
- Initial package