Blob Blame Raw
# Generated by go2rpm
# https://github.com/anacrolix/missinggo/issues/16
%ifnarch %{ix86} %{arm}
%bcond_without check
%endif

# https://github.com/anacrolix/missinggo
%global goipath         github.com/anacrolix/missinggo
Version:                2.1.0

%gometa

%global common_description %{expand:
Stuff that supplements Go's stdlib, or isn't significant enough to be in its
own repo.}

%gometa

Name:           %{goname}
Release:        2%{?dist}
Summary:        Supplementary material for Go's stdlib

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/anacrolix/envpprof)
# Only in cmd/
# BuildRequires:  golang(github.com/anacrolix/tagflag)
BuildRequires:  golang(github.com/bradfitz/iter)
BuildRequires:  golang(github.com/docopt/docopt-go)
BuildRequires:  golang(github.com/dustin/go-humanize)
BuildRequires:  golang(github.com/google/btree)
BuildRequires:  golang(github.com/huandu/xstrings)
BuildRequires:  golang(github.com/prometheus/client_golang/prometheus)
BuildRequires:  golang(github.com/RoaringBitmap/roaring)
BuildRequires:  golang(github.com/ryszard/goskiplist/skiplist)
BuildRequires:  golang(go.opencensus.io/trace)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/assert)
BuildRequires:  golang(github.com/stretchr/testify/require)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep
rm -rf cmd

%install
%gopkginstall

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

%gopkgfiles

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

* Tue Jun 04 00:08:13 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.1.0-1
- Release 2.1.0

* Tue Mar 26 18:47:54 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.0.1-1
- Release 2.0.1 (#1692639)

* Thu Mar 14 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.1.0-1
- First package for Fedora