Blob Blame History Raw
# Generated by go2rpm
# Tests fail, dead upstream.
%bcond_with 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:        4%{?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
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Tue May 14 14:15:52 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.15-1
- Initial package