# Generated by go2rpm %bcond_without check # https://github.com/facebookgo/httpdown %global goipath github.com/facebookgo/httpdown %global commit 5979d39b15c26299dc282711b0d65b113daccea6 %gometa %global common_description %{expand: Package Httpdown provides a library that makes it easy to build a HTTP server that can be shutdown gracefully (that is, without dropping any connections). If you want graceful restart and not just graceful shutdown, look at the grace package which uses this package underneath but also provides graceful restart.} %global golicenses license %global godocs readme.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Http.ConnState enabled graceful termination of http.Server License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/facebookgo/clock) BuildRequires: golang(github.com/facebookgo/stats) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 06 00:00:53 CEST 2019 Robert-André Mauchin - 0-0.1.20190506git5979d39 - Initial package