# Generated by go2rpm
%bcond_without check

# https://github.com/kubernetes/klog
%global goipath         k8s.io/klog
%global forgeurl        https://github.com/kubernetes/klog
Version:                0.3.0

%gometa

%global common_description %{expand:
This is an efficient pure Go implementation of leveled logs in the manner of the
open source C++ package}

%global golicenses      LICENSE
%global godocs          examples CONTRIBUTING.md README.md RELEASE.md code-\\\
                        of-conduct.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Leveled execution logs for Go

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

BuildRequires:  golang(github.com/go-logr/logr)
BuildRequires:  golang(github.com/golang/glog)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu May 09 20:26:14 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
- Initial package