# Generated by go2rpm %bcond_without check # https://github.com/go-gcfg/gcfg %global goipath gopkg.in/gcfg.v1 %global forgeurl https://github.com/go-gcfg/gcfg Version: 1.2.3 %gometa %global common_description %{expand: Read ini-style configuration files into go structs; supports user-defined types and subsections.} %global golicenses LICENSE %global godocs README Name: %{goname} Release: %autorelease Summary: Read ini-style configuration files into go structs # Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-gcfg-1 = %{version}-%{release} Obsoletes: golang-gopkg-gcfg-1 < 1.2.3-12 %global godevelheader %{expand: Provides: golang-gopkg-gcfg-1-devel = %{version}-%{release} Obsoletes: golang-gopkg-gcfg-1-devel < 1.2.3-12} BuildRequires: golang(gopkg.in/warnings.v0) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check # types: https://github.com/go-gcfg/gcfg/issues/17 %gocheck -d types %endif %gopkgfiles %changelog %autochangelog