Blob Blame History Raw
# 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:        3%{?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
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Thu Apr 25 16:42:21 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.2.2-1
- Initial package