## START: Set by rpmautospec %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by go2rpm 1.5.0 %bcond_without check # https://github.com/tklauser/go-sysconf %global goipath github.com/tklauser/go-sysconf Version: 0.3.7 %gometa %global common_description %{expand: Sysconf for Go, without using cgo.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Sysconf for Go, without using cgo # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/tklauser/numcpus) BuildRequires: golang(golang.org/x/sys/unix) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Fri Jul 30 2021 Robert-André Mauchin 0.3.7-2 - Uncommitted changes * Thu Jul 29 2021 Robert-André Mauchin 0.3.7-1 - Initial release