Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/golang/glog
%global goipath         github.com/golang/glog
%global commit          23def4e6c14b4da8ac2ed8007337bc5eb5007998

%gometa

# Remove in F33:
%global godevelheader %{expand:
Obsoletes:      golang-github-golang-glog-devel < 0-0.24
}

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

By binding methods to booleans it is possible to use the log package
without paying the expense of evaluating the arguments to the log.
Through the -vmodule flag, the package also provides fine-grained
control over logging at the file level.}

%global golicenses      LICENSE
%global godocs          README

%global gosupfiles glide.lock glide.yaml

Name:           %{goname}
Version:        0
Release:        %autorelease
Summary:        Leveled execution logs for Go

# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}
Source1:        glide.yaml
Source2:        glide.lock

%description
%{common_description}

%gopkg

%prep
%goprep
cp %{S:1} %{S:2} .

%install
%gopkginstall

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

%gopkgfiles

%changelog
%autochangelog