# Generated by go2rpm 1.3
%bcond_with    check

# https://github.com/mediocregopher/radix
%global goipath         github.com/mediocregopher/radix
Version:                3.3.2

%gometa

%global common_description %{expand:
Redis client for Go.}

%global golicenses      LICENSE.txt
%global godocs          README.md CHANGELOG.md CONTRIBUTING.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Redis client for Go

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(golang.org/x/xerrors)

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

%global godevelheader %{expand:
Provides:       golang(%{goipath}/v3)
}

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Fri Mar 19 05:32:03 UTC 2021 Aleksei Bavshin <alebastr89@gmail.com> - 3.3.2-1
- Initial package