# Generated by go2rpm %bcond_without check # https://github.com/go-xorm/xorm %global goipath github.com/go-xorm/xorm Version: 0.7.1 %gometa %global common_description %{expand: Xorm is a simple and powerful ORM for Go.} %global golicenses LICENSE %global godocs docs examples CONTRIBUTING.md\\\ README.md README_CN.md Name: %{goname} Release: 2%{?dist} Summary: Simple and Powerful ORM for Go # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/go-sql-driver/mysql) BuildRequires: golang(github.com/go-xorm/builder) BuildRequires: golang(github.com/go-xorm/core) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(github.com/mattn/go-sqlite3) %if %{with check} # Tests BuildRequires: golang(github.com/denisenkom/go-mssqldb) BuildRequires: golang(github.com/jackc/pgx/stdlib) BuildRequires: golang(github.com/stretchr/testify/assert) BuildRequires: golang(github.com/ziutek/mymysql/godrv) BuildRequires: golang(gopkg.in/stretchr/testify.v1/assert) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 31 17:45:48 CEST 2019 Robert-André Mauchin - 0.7.1-2 - Update to new macros * Mon Mar 18 2019 Nathan Scott - 0.7.1-1 - First package for Fedora