# Generated by go2rpm
%bcond_without check
# https://github.com/tylerb/graceful
%global goipath gopkg.in/tylerb/graceful.v1
%global forgeurl https://github.com/tylerb/graceful
Version: 1.2.15
%gometa
%global goaltipaths github.com/tylerb/graceful
%global common_description %{expand:+
Graceful is a Go 1.3+ package enabling graceful shutdown of http.Handler
servers.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Release: 1%{?dist}
Summary: Go package enabling graceful shutdown of an http.Handler server
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires: golang(github.com/urfave/negroni)
%if %{with check}
# Tests
BuildRequires: golang(golang.org/x/net/http2)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Tue May 14 14:15:52 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.15-1
- Initial package