# Generated by go2rpm %bcond_without check # https://github.com/jmoiron/sqlx %global goipath github.com/jmoiron/sqlx Version: 1.2.0 %gometa %global common_description %{expand: Sqlx is a library which provides a set of extensions on Go's standard database/sql library. The sqlx versions of sql.DB, sql.TX, sql.Stmt, et al. all leave the underlying interfaces untouched, so that their interfaces are a superset on the standard ones. This makes it relatively painless to integrate existing codebases using database/sql with sqlx.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: General purpose extensions to Golang's database/sql License: MIT URL: %{gourl} Source0: %{gosource} %if %{with check} # Tests BuildRequires: golang(github.com/go-sql-driver/mysql) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(github.com/mattn/go-sqlite3) %endif %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue May 07 22:13:19 CEST 2019 Robert-André Mauchin - 1.2.0-1 - Initial package