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

## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 1;
    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
    print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec

# Generated by go2rpm 1.3
%bcond_without check

# https://github.com/bits-and-blooms/bitset
%global goipath         github.com/bits-and-blooms/bitset
%global goaltipaths     github.com/willf/bitset
Version:                1.3.1

%gometa

%global common_description %{expand:
Go package implementing bitsets.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        9%{?dist}
Summary:        Go package implementing bitsets

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        https://%{goipath}/archive/v%{version}/bitset-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

%install
%gopkginstall

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

%gopkgfiles