# Generated by go2rpm %bcond_without check # https://github.com/DATA-DOG/go-sqlmock %global goipath gopkg.in/DATA-DOG/go-sqlmock.v1 %global forgeurl https://github.com/DATA-DOG/go-sqlmock Version: 1.3.3 %gometa %global common_description %{expand: A mock library implementing SQL driver, which has one and only purpose - to simulate any SQL driver behavior in tests, without needing a real database connection. It helps to maintain correct TDD workflow. It does not require any modifications to your source code in order to test and mock database operations. Supports concurrency and multiple database mocking.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: 1%{?dist} Summary: Sql mock driver for golang to test database interactions # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/kisielk/sqlstruct) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri May 24 23:29:09 CEST 2019 Robert-André Mauchin - 1.3.3-1 - Release 1.3.3 * Tue Feb 12 2019 Elliott Sales de Andrade - 1.3.2-1 - Update to latest version * Fri Feb 01 2019 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 1.3.0-3 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Fri Jul 13 2018 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 07 2018 Elliott Sales de Andrade - 1.3.0-1 - First package for Fedora