# Generated by go2rpm %bcond_without check # https://github.com/influxdata/line-protocol %global goipath github.com/influxdata/line-protocol %global commit a3afd890113fb9f0337e05808bb06fb0ca4c685a %gometa %global common_description %{expand: This is an encoder for the influx line protocol. It has an interface similar to the standard library's json.Encoder.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Encoder for the influx line protocol License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/stretchr/testify/require) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Apr 25 00:19:21 CEST 2019 Robert-André Mauchin - 0-0.1.20190425gita3afd89 - Initial package