# Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/Bose/minisentinel %global goipath github.com/Bose/minisentinel %global commit 917c5a9223bb0b1fb5acffc7e4b68fdddf427419 %gometa %global common_description %{expand: Pure Go Redis Sentinel server for Go unittests.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Pure Go Redis Sentinel server for Go unittests # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/alicebob/miniredis/v2) BuildRequires: golang(github.com/alicebob/miniredis/v2/server) BuildRequires: golang(github.com/google/uuid) %if %{with check} # skip for now - need to bundle is and sentinel # Tests #BuildRequires: golang(github.com/FZambia/sentinel) #BuildRequires: golang(github.com/gomodule/redigo/redis) #BuildRequires: golang(github.com/matryer/is) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} # skip for now - need to bundle is and sentinel #%%check #%%gocheck %endif %gopkgfiles %changelog * Wed Sep 29 2021 Paul Wouters - 0-0.1%{?dist}.20210929git917c5a9 - Initial package