# Generated by go2rpm 1.15.0 %bcond check 0 # tests are broken %bcond bootstrap 0 %if %{with bootstrap} %global debug_package %{nil} %endif %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # https://github.com/boltdb/bolt %global goipath github.com/boltdb/bolt Version: 1.3.1 %gometa -L -f %global common_description %{expand: An embedded key/value database for Go.} %global golicenses LICENSE %global godocs README.md Name: golang-github-boltdb-bolt Release: 2%{?dist} Summary: An embedded key/value database for Go License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %if %{without bootstrap} %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %endif %install %gopkginstall %if %{without bootstrap} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %if %{without bootstrap} %files %license LICENSE %doc README.md %{_bindir}/bolt %endif %gopkgfiles %changelog * Sat Mar 22 18:32:00 CET 2025 DEREFERENC3D - 1.3.1-2 - Regenerate using go2rpm v1.15.0 - fix build by defining "global debug_package" - Fix go2rpm warning: drop ix86 architectures - Fix go2rpm warning: list the binaries without globbing in "files" - Don't remove test files - set "bcond check 0" instead * Mon Dec 28 15:23:53 CST 2020 proletarius101 - 1.3.1-1 - Initial package