Blob Blame History Raw
# Generated by go2rpm 1
%bcond_without check

# https://github.com/anacrolix/log
%global goipath         github.com/anacrolix/log
Version:                0.6.0

%gometa

%global common_description %{expand:
Logging library for Go.}

%global golicenses      LICENSE

Name:           %{goname}
Release:        1%{?dist}
Summary:        Logging library for Go

License:        MPLv2.0
URL:            %{gourl}
Source0:        %{gosource}
Source1:        https://raw.githubusercontent.com/anacrolix/log/master/LICENSE

BuildRequires:  golang(github.com/anacrolix/missinggo/iter)

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

%description
%{common_description}

%gopkg

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

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Sun Jan 26 23:16:50 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.6.0-1
- Initial package