# Generated by go2rpm %bcond_without check # https://github.com/go-xorm/core %global goipath github.com/go-xorm/core Version: 0.6.2 %gometa %global common_description %{expand: Core is a lightweight wrapper of sql.DB.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: 1%{?dist} Summary: Lightweight & Compitable wrapper of database/sql # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} %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 %install %gopkginstall %if %{with check} %check # .: needs network %gocheck -d . %endif %gopkgfiles %changelog * Fri May 31 18:09:10 CEST 2019 Robert-André Mauchin - 0.6.2-2 - Update to new macros * Fri Mar 15 2019 Nathan Scott - 0.6.2-1 - First package for Fedora