# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://gitlab.com/cznic/sqlite %global goipath modernc.org/sqlite %global forgeurl https://gitlab.com/cznic/sqlite Version: 1.34.5 %global tag v%{version} %gometa -f %global common_description %{expand: A port of SQLite/SQLite3 to Go without cgo. SQLite is an in-process implementation of a self-contained, serverless, zero- configuration, transactional SQL database engine.} %global golicenses LICENSE SQLITE-LICENSE %global godocs examples AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: A port of SQLite/SQLite3 to Go without cgo License: BSD-3-Clause URL: %{gourl} Source: %{gosource} Patch0001: 0001-Fix-ppc-build.patch # Not required on all architecures, so golang-modernc-libc dependency omits by # using __requires_exclude. Without this, Koji complains about differing noarch # packages. Explicitly require here. BuildRequires: golang(github.com/mattn/go-isatty) BuildRequires: golang(github.com/ncruces/go-strftime) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check # panic: test timed out after 10m0s %gocheck -d . %endif %files %license LICENSE SQLITE-LICENSE %doc examples AUTHORS CONTRIBUTORS README.md %gopkgfiles %changelog %autochangelog