# Generated by go2rpm 1.2
%bcond_without check

# https://github.com/tcnksm/go-gitconfig
%global goipath         github.com/tcnksm/go-gitconfig
Version:                0.1.2

%gometa

%global common_description %{expand:
Use gitconfig values in Golang.}

%global golicenses      LICENSE
%global godocs          README.md CHANGELOG.md

Name:           %{goname}
Release:        1%{?dist}
Summary:        Use gitconfig values in Golang

License:        MIT
URL:            %{gourl}
Source0:        %{gosource}

%if %{with check}
# Tests
BuildRequires:  golang(github.com/onsi/gomega)
BuildRequires:  git
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Tue Oct 06 17:07:10 CEST 2020 Patrick Talbert <ptalbert@redhat.com> - 0.1.2-1
- Initial package