## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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.5.0 # TODO: Segfaulting, need to investigate why. %bcond_with check # https://github.com/go-redis/redis %global goipath github.com/go-redis/redis/v7 %global forgeurl https://github.com/go-redis/redis Version: 7.4.1 %gometa %global common_description %{expand: Type-safe Redis client for Golang.} %global golicenses LICENSE %global godocs CHANGELOG.md README.md Name: %{goname} Release: %autorelease Summary: Type-safe Redis client for Golang # Upstream license specification: BSD-2-Clause License: BSD URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/onsi/ginkgo) BuildRequires: golang(github.com/onsi/gomega) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun Jan 30 2022 Robert-André Mauchin 7.4.1-1 - Uncommitted changes * Mon Aug 02 2021 Robert-André Mauchin 7.4.0-1 - Initial release