# Generated by go2rpm
%bcond_with check

# https://github.com/nsqio/go-nsq
%global goipath         github.com/nsqio/go-nsq
Version:                1.0.8

%gometa

%global common_description %{expand:
The official Go package for NSQ.}

%global golicenses      LICENSE
%global godocs          UPGRADING.md ChangeLog.md README.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        The official Go package for NSQ

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

BuildRequires:  golang(github.com/golang/snappy)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Wed Feb 05 2020 Xavier Bachelot <xavier@bachelot.org> - 1.0.8-1
- Initial package