## 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/nu7hatch/gouuid %global goipath github.com/nu7hatch/gouuid %global commit 179d4d0c4d8d407a32af483c2354df1d2c91e6c3 %gometa %global common_description %{expand: Go binding for libuuid.} %global golicenses COPYING %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Go binding for libuuid License: MIT URL: %{gourl} Source0: %{gosource} # Fix "Errorf format %d has arg err.Error() of wrong type string" Patch0: 0001-Fix-Errorf-has-wrong-type-of-string.patch %description %{common_description} %gopkg %prep %goprep %patch0 -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jul 21 2022 Fedora Release Engineering 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Robert-André Mauchin 0-0.1 - Initial import