# Generated by go2rpm # Needs network %bcond_with check # https://github.com/segmentio/kafka-go %global goipath github.com/segmentio/kafka-go Version: 0.2.2 %gometa %global common_description %{expand: Kafka-go provides both low and high level APIs for interacting with Kafka, mirroring concepts and implementing interfaces of the Go standard library to make it easy to use and integrate with existing software.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Kafka library in go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/golang/snappy) BuildRequires: golang(github.com/pierrec/lz4) %if %{with check} # Tests BuildRequires: golang(golang.org/x/net/nettest) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Apr 25 16:42:21 CEST 2019 Robert-André Mauchin - 0.2.2-1 - Initial package