# Generated by go2rpm %bcond_without check # https://github.com/NYTimes/gziphandler %global goipath github.com/NYTimes/gziphandler Version: 1.1.1 %gometa %global common_description %{expand: This is a tiny Go package which wraps HTTP handlers to transparently gzip the response body, for clients which support it. Although it's usually simpler to leave that to a reverse proxy (like nginx or Varnish), this package is useful when that's undesirable.} %global golicenses LICENSE %global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md README.md Name: %{goname} Release: 1%{?dist} Summary: Go middleware to gzip HTTP responses # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu May 09 23:13:50 CEST 2019 Robert-André Mauchin - 1.1.1-1 - Initial package