Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/go-xorm/builder
%global goipath         github.com/go-xorm/builder
Version:                0.3.4

%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}
Release:        2%{?dist}
Summary:        Lightweight and fast SQL builder for Go language

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

%if %{with check}
# Tests
BuildRequires:  golang(github.com/go-xorm/sqlfiddle)
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:48:00 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.4-2
- Update to new macros

* Mon Mar 18 2019 Nathan Scott <nathans@redhat.com> - 0.3.4-1
- First package for Fedora