File golang-github-bits-and-blooms-bloom3.spec of Package golang-github-bits-and-blooms-bloom3

# Generated by go2rpm 1.10.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/bits-and-blooms/bloom
%global goipath         github.com/bits-and-blooms/bloom/v3
%global forgeurl        https://github.com/bits-and-blooms/bloom
Version:                3.3.1

%gometa

%global common_description %{expand:
Go package implementing Bloom filters, used by Milvus and Beego.}

%global golicenses      LICENSE
%global godocs          SECURITY.md README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Go package implementing Bloom filters, used by Milvus and Beego

License:        BSD-2-Clause
URL:            %{gourl}
Source:         %{forgeurl}/archive/v%{version}/bloom-v%{version}.tar.gz

BuildRequires:  go-rpm-macros
%if 0%{?rhel} || 0%{?centos}
BuildRequires:  go-rpm-macros-epel
%endif

%description
%{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

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

%gopkgfiles

%changelog