# Generated by go2rpm # Tests need to be set up: https://github.com/jackc/pgx#testing %bcond_with check # https://github.com/jackc/pgx %global goipath github.com/jackc/pgx Version: 3.3.0 %gometa %global common_description %{expand: Pgx is a pure Go driver and toolkit for PostgreSQL. pgx is different from other drivers such as pq because, while it can operate as a database/sql compatible driver, pgx is also usable directly. It offers a native interface similar to database/sql that offers better performance and more features.} %global golicenses LICENSE %global godocs examples CHANGELOG.md README.md Name: %{goname} Release: 1%{?dist} Summary: PostgreSQL driver and toolkit for Go License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/cockroachdb/apd) BuildRequires: golang(github.com/jackc/fake) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(github.com/pkg/errors) BuildRequires: golang(github.com/rs/zerolog) BuildRequires: golang(github.com/satori/go.uuid) BuildRequires: golang(github.com/shopspring/decimal) BuildRequires: golang(github.com/sirupsen/logrus) BuildRequires: golang(go.uber.org/zap) BuildRequires: golang(go.uber.org/zap/zapcore) BuildRequires: golang(gopkg.in/inconshreveable/log15.v2) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Apr 29 21:57:09 CEST 2019 Robert-André Mauchin - 3.3.0-1 - Initial package