## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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.9.0 %bcond_with check # https://github.com/hashicorp/go-cty-funcs %global goipath github.com/hashicorp/go-cty-funcs %global commit a090f58aa992a33dfdcb7c13bd9402d2f46ecbb1 %gometa %global common_description %{expand: Go-cty specific functions; mainly used in HCL2 templates.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: %autorelease -p Summary: Go-cty specific functions; mainly used in HCL2 templates License: MPL-2.0 URL: %{gourl} Source: %{gosource} BuildRequires: golang(github.com/apparentlymart/go-cidr/cidr) BuildRequires: golang(github.com/bmatcuk/doublestar) BuildRequires: golang(github.com/google/uuid) BuildRequires: golang(github.com/mitchellh/go-homedir) BuildRequires: golang(github.com/zclconf/go-cty/cty) BuildRequires: golang(github.com/zclconf/go-cty/cty/convert) BuildRequires: golang(github.com/zclconf/go-cty/cty/function) BuildRequires: golang(github.com/zclconf/go-cty/cty/gocty) BuildRequires: golang(golang.org/x/crypto/bcrypt) %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Mon May 22 2023 John Doe - 0-0.1 - Uncommitted changes