## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 # "The test suite requires a postgres and mysql database." %bcond_with check # https://github.com/doug-martin/goqu %global goipath github.com/doug-martin/goqu/v8 Version: 8.6.0 %gometa %global common_description %{expand: SQL builder and query library for golang.} %global golicenses LICENSE %global godocs docs CODE_OF_CONDUCT.md CONTRIBUTING.md HISTORY.md\\\ README.md Name: %{goname} Release: %autorelease Summary: SQL builder and query library for golang License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/stretchr/testify/mock) %if %{with check} # Tests BuildRequires: golang(github.com/DATA-DOG/go-sqlmock) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(github.com/mattn/go-sqlite3) BuildRequires: golang(github.com/stretchr/testify/suite) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 8.6.0-2 - Uncommitted changes * Sat Sep 18 2021 Robert-André Mauchin 8.6.0-1 - Initial release