# Generated by go2rpm 1.3 %bcond_without check # https://github.com/siddontang/go %global goipath github.com/siddontang/go %global commit bdc77568d726a8702315ec4eafda030b6abc4f43 %gometa %global common_description %{expand: Golang lib for ledisdb.} %global golicenses LICENSE bson/LICENSE filelock/LICENSE snappy/LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.1%{?dist} Summary: Golang lib for ledisdb # Upstream license specification: MIT and BSD-3-Clause and BSD-2-Clause License: MIT and BSD and BSD URL: %{gourl} Source0: %{gosource} # Fix Errorf formatting # https://github.com/siddontang/go/issues/9 Patch0: 0001-Fix-Errorf-formatting.patch %if %{with check} # Tests BuildRequires: golang(github.com/gorilla/websocket) %endif %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun Jan 10 16:39:09 CET 2021 Robert-André Mauchin - 0-0.1.20210110gitbdc7756 - Initial package