## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %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/gosidekick/goconfig %global goipath github.com/gosidekick/goconfig Version: 1.3.0 %gometa %global goaltipaths github.com/crgimenes/goconfig %global common_description %{expand: Goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: Populates the fields of a struct with parameters from command line License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/fatih/structs) BuildRequires: golang(github.com/fsnotify/fsnotify) BuildRequires: golang(github.com/hashicorp/hcl) BuildRequires: golang(github.com/hashicorp/hcl/hcl/printer) BuildRequires: golang(github.com/hashicorp/hcl/json/parser) BuildRequires: golang(github.com/nuveo/log) BuildRequires: golang(github.com/pelletier/go-toml) BuildRequires: golang(gopkg.in/ini.v1) BuildRequires: golang(gopkg.in/yaml.v2) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sat Sep 18 2021 Robert-André Mauchin 1.3.0-2 - Initial release * Sat Sep 18 2021 Robert-André Mauchin 1.3.0-1 - Initial release