Blob Blame History Raw
# Generated by go2rpm 1.3
%ifnarch s390x
%bcond_without check
%endif

# https://github.com/willf/bloom
%global goipath         github.com/willf/bloom
Version:                3.0.1

%gometa

%global common_description %{expand:
Go package implementing Bloom filters.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Go package implementing Bloom filters

# Upstream license specification: BSD-2-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/bits-and-blooms/bitset)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/spaolacci/murmur3)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog