# Generated by go2rpm # use of internal package not allowed because not common root %bcond_with check # https://gitlab.com/cznic/zappy %global goipath modernc.org/zappy %global forgeurl https://gitlab.com/cznic/zappy Version: 1.0.0 %global commit 1b49851a3c17c6cd7c12d81a829ad6ddc9303e01 %global distprefix %{nil} %gometa %global common_description %{expand: Package Zappy implements the zappy block-based compression format.} %global golicenses LICENSE SNAPPY-GO-LICENSE %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: 1%{?dist} Summary: Zappy block-based compression format # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(modernc.org/internal/buffer) %if %{with check} # Tests BuildRequires: golang(github.com/golang/snappy) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun May 12 17:37:07 CEST 2019 Robert-André Mauchin - 1.0.0-1 - Initial package