# Generated by go2rpm 1
%bcond_without check
# https://gitea.com/xorm/builder
%global goipath xorm.io/builder
%global forgeurl https://gitea.com/xorm/builder
Version: 0.3.6
%global repo builder
%global archivename %{repo}-%{version}
%global archiveext tar.gz
%global archiveurl %{forgeurl}/archive/v%{version}.%{archiveext}
%global topdir %{repo}
%global extractdir %{repo}
%global scm git
%gometa
%global goaltipaths github.com/go-xorm/builder
# Remove in F33
%global godevelheader %{expand:
Obsoletes: golang-github-xorm-builder-devel < 0.3.5-1
}
%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: 1%{?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 Feb 14 2020 Mark Goodwin <mgoodwin@redhat.com> - 0.3.6-1
- Release 0.3.6
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 16:45:07 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.5-1
- Release 0.3.5
* 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