## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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/goyaml2 %global goipath github.com/wendal/goyaml2 Version: 2.0 %global tag 2.0 %gometa %global common_description %{expand: YAML for Golang.} %global golicenses License.txt %global godocs README.md Name: %{goname} Release: %autorelease Summary: YAML for Golang License: ASL 2.0 URL: %{gourl} Source0: %{gosource} Source1: https://raw.githubusercontent.com/wendal/goyaml2/master/License.txt BuildRequires: golang(github.com/wendal/errors) %description %{common_description} %gopkg %prep %goprep cp %{S:1} . %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * dim. janv. 30 2022 Robert-André Mauchin 2.0-2 - Uncommitted changes * dim. janv. 30 2022 Robert-André Mauchin 2.0-1 - Initial release