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:        1%{?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
* Wed May 01 18:51:44 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.11.20-1
- Initial package