Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/inconshreveable/log15
%global goipath         github.com/inconshreveable/log15
Version:                2.14

%gometa

%global goaltipaths     gopkg.in/inconshreveable/log15.v2

%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 term/LICENSE
%global godocs          CONTRIBUTORS README.md

Name:           %{goname}
Release:        3%{?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/go-stack/stack)
BuildRequires:  golang(github.com/mattn/go-colorable)
BuildRequires:  golang(github.com/mattn/go-isatty)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Mon Apr 29 17:06:51 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.14-2
- Update to new macros

* Tue Mar 19 2019 Nathan Scott <nathans@redhat.com> - 2.14-1
- First package for Fedora