Blob Blame History Raw
# Generated by go2rpm
# Needs network
%bcond_with check

# https://github.com/go-xorm/sqlfiddle
%global goipath         github.com/go-xorm/sqlfiddle
%global commit          62ce714f951af41ba61ec543afe292425b74910d

%gometa

%global common_description %{expand:
Package Builder is a lightweight and fast SQL builder for Go and XORM.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Version:        0
Release:        0.1%{?dist}
Summary:        Lightweight and fast SQL builder for Go and XORM

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%if %{with check}
# Tests
BuildRequires:  golang(github.com/stretchr/testify/assert)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Fri May 31 17:49:52 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20190703git62ce714
- Initial package