# Generated by go2rpm
%bcond_without check
# https://github.com/go-xorm/core
%global goipath github.com/go-xorm/core
Version: 0.6.3
%gometa
%global common_description %{expand:
Core is a lightweight wrapper of sql.DB.}
%global golicenses LICENSE
%global godocs README.md
Name: %{goname}
Release: 2%{?dist}
Summary: Lightweight & Compitable wrapper of database/sql
# Upstream license specification: BSD-3-Clause
License: BSD
URL: %{gourl}
Source0: %{gosource}
# switch from MySQL to sqlite3 for testing (no server needed)
Patch0: sqlite3-test-default.patch
%if %{with check}
# Tests
BuildRequires: golang(github.com/go-sql-driver/mysql)
BuildRequires: golang(github.com/mattn/go-sqlite3)
%endif
%description
%{common_description}
%gopkg
%prep
%goprep
%patch0 -p1
%install
%gopkginstall
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
* Wed Jul 03 17:29:51 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.6.3-2
- Refresh SPEC
* Mon Jun 24 2019 Nathan Scott <nathans@redhat.com> - 0.6.3-1
- Update to latest Golang packaging guidelines
- Update to latest upstream release
* Fri Mar 15 2019 Nathan Scott <nathans@redhat.com> - 0.6.2-1
- First package for Fedora