# Generated by go2rpm %bcond_without check # https://github.com/jsternberg/zap-logfmt %global goipath github.com/jsternberg/zap-logfmt Version: 1.2.0 %gometa %global common_description %{expand: This package implements logfmt for Zap.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Logfmt for Zap License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(go.uber.org/zap) BuildRequires: golang(go.uber.org/zap/buffer) BuildRequires: golang(go.uber.org/zap/zapcore) %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 * Mon Apr 29 00:29:31 CEST 2019 Robert-André Mauchin - 1.2.0-1 - Initial package