Blob Blame History Raw
# Generated by go2rpm 1.9.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/bgentry/go-netrc
%global goipath         github.com/bgentry/go-netrc
%global commit          9fd32a8b3d3d3f9d43c341bfe098430e07609480

%gometa -f

%global common_description %{expand:
A Golang package for reading and writing netrc files. This package can parse
netrc files, make changes to them, and then serialize them back to netrc
format, while preserving any whitespace that was present in the source file.}

%global golicenses      LICENSE
%global godocs          README.md examples

%global godevelheader %{expand:
Obsoletes:      golang-github-bgentry-go-netrc-devel < 0-0.8
}

Name:           %{goname}
Version:        0
Release:        %autorelease -pb 7
Summary:        Netrc file parser for Go programming language

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

%description %{common_description}

%gopkg

%prep
%goprep
%autopatch -p1

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

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

%gopkgfiles

%changelog
%autochangelog