# Generated by go2rpm %bcond_without check # https://github.com/go-macaron/gzip %global goipath github.com/go-macaron/gzip %global commit cad1c6580a07c56f5f6bc52d66002a05985c5854 %gometa %global common_description %{expand: Package Gzip is a middleware that provides Gzip compress to responses for Macaron.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Middleware that provides Gzip compress to responses for Macaron # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/klauspost/compress/gzip) BuildRequires: golang(gopkg.in/macaron.v1) %if %{with check} # Tests BuildRequires: golang(github.com/smartystreets/goconvey/convey) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 31 19:34:24 CEST 2019 Robert-André Mauchin - 0-0.2.20190325gitcad1c65 - Update to new macros * Mon Mar 25 2019 Nathan Scott - 0-0.1.20190325gitcad1c65 - First package for Fedora