## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.6.0 %bcond_without check # https://github.com/wendal/errors %global goipath github.com/wendal/errors %global commit 7f31f4b264ec95ca86f90649fe4dca4a2a690f4a %gometa %global common_description %{expand: Fully compatible with the official errors package, and comes with stack information for easy debugging.} %global golicenses License.txt %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Enhanced errors package License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun Jan 30 2022 Robert-André Mauchin 0-0.1 - Initial release