# Generated by go2rpm %bcond_without check # https://github.com/axiomhq/hyperloglog %global goipath github.com/axiomhq/hyperloglog %global commit 6335aff4f64ca1429ad8336540d3c3c97d63fdb1 %gometa %global common_description %{expand: An improved version of HyperLogLog for the count-distinct problem, approximating the number of distinct elements in a multiset using 33-50% less space than other usual HyperLogLog implementations.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: HyperLogLog with lots of sugar License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/dgryski/go-metro) BuildRequires: golang(github.com/influxdata/influxdb/pkg/estimator/hll) %if %{with check} # Tests BuildRequires: golang(github.com/davecgh/go-spew/spew) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed May 15 18:21:41 CEST 2019 Robert-André Mauchin - 0-0.1.20190515git6335aff - Initial package