Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/simonpasquier/klog-gokit
%global goipath         github.com/simonpasquier/klog-gokit
Version:                0.1.0

%gometa

%global common_description %{expand:
Replacement for klog for projects using the go-kit logger.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Replacement for klog for projects using the go-kit logger

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

BuildRequires:  golang(github.com/go-kit/kit/log)
BuildRequires:  golang(github.com/go-kit/kit/log/level)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/assert)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Fri May 17 17:32:23 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.0-1
- Initial package