## 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/wendal/errors %global goipath github.com/wendal/errors %global commit 7f31f4b264ec95ca86f90649fe4dca4a2a690f4a %gometa %global common_description %{expand: Paquet d'erreur amélioré.} %global golicenses License.txt %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Paquet d'erreur amélioré License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon Aug 02 2021 Robert-André Mauchin 0-0.2 - Uncommitted changes * Mon Aug 02 2021 Robert-André Mauchin 0-0.1 - Initial release