Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/hydrogen18/stoppableListener
%global goipath         github.com/hydrogen18/stoppableListener
%global commit          827d760f0663fd2207d115e22dd1f55f1842467e

%gometa

%global common_description %{expand:
An example of a stoppable TCP listener in Go. This library wraps an existing TCP
connection object. A goroutine calling Accept() is interrupted with StoppedError
whenever the listener is stopped by a call to Stop(). Usage is demonstrated
below, and in example/example.go.}

%global golicenses      LICENSE
%global godocs          example README.md

Name:           %{goname}
Version:        0
Release:        0.2%{?dist}
Summary:        Stoppable TCP listener in Go

# Upstream license specification: BSD-2-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Sun May 12 18:03:55 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190629git827d760
- Initial package