## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.8.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.18.1 %global tag v1.18.1 %gometa -f %global common_description %{expand: Package sqlite is a CGo-free port of SQLite/SQLite3.} %global golicenses LICENSE SQLITE-LICENSE %global godocs examples AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: %autorelease Summary: CGo-free port of SQLite/SQLite3. License: BSD-3-Clause URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %build %gobuild -o %{gobuilddir}/bin/gosqlite %{goipath} %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck -d . %endif %files %license LICENSE SQLITE-LICENSE %doc examples AUTHORS CONTRIBUTORS README.md benchmark/README.md %{_bindir}/gosqlite %gopkgfiles %changelog * Sat Aug 20 2022 Robert-André Mauchin 1.18.1-1 - Uncommitted changes