https://bugzilla.redhat.com/show_bug.cgi?id=1770566
Robert-André Mauchin <zebob.m(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zebob.m(a)gmail.com
--- Comment #6 from Robert-André Mauchin <zebob.m(a)gmail.com> ---
Please use go2rpm and latest Guidelines:
# Generated by go2rpm 1
%bcond_without check
#
https://github.com/tomnomnom/gron
%global goipath
github.com/tomnomnom/gron
Version: 0.6.0
%gometa
%global common_description %{expand:
Make JSON greppable!}
%global golicenses LICENSE
%global godocs docs README.mkd CHANGELOG.mkd
Name: gron
Release: 1%{?dist}
Summary: Make JSON greppable
License: MIT
URL: %{gourl}
Source0: %{gosource}
BuildRequires:
golang(github.com/fatih/color)
BuildRequires:
golang(github.com/mattn/go-colorable)
BuildRequires:
golang(github.com/nwidger/jsoncolor)
BuildRequires:
golang(github.com/pkg/errors)
%description
%{common_description}
%prep
%goprep
%build
%gobuild -o %{gobuilddir}/bin/gron %{goipath}
%install
install -m 0755 -vd %{buildroot}%{_bindir}
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
%if %{with check}
%check
%gocheck
%endif
%files
%license LICENSE
%doc docs README.mkd CHANGELOG.mkd
%{_bindir}/*
%changelog
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component