# Generated by go2rpm 1.3 %bcond_without check # https://github.com/go-git/gcfg %global goipath github.com/go-git/gcfg %global goname golang-github-go-git-gcfg Version: 1.5.0 %gometa %global common_description %{expand: Gcfg reads INI-style configuration files into Go structs; supports user-defined types and subsections.} %global golicenses LICENSE %global godocs README Name: %{goname} Release: 1%{?dist} Summary: Go library to read INI-style configuration files into Go structs License: BSD URL: %{gourl} Source0: %{gosource} # https://github.com/go-gcfg/gcfg/issues/17 Patch0: fix-tests-to-match-behavior-of-str.conv.ParseInt-since-Go-1.13.patch BuildRequires: golang(gopkg.in/warnings.v0) %if %{with check} BuildRequires: golang(github.com/pkg/errors) %endif %description %{common_description} %gopkg %prep %goprep %autopatch -p 1 %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Sun May 16 2021 Carl George - 1.5.0-1 - Initial package