https://bugzilla.redhat.com/show_bug.cgi?id=1770566

Robert-AndrĂ© Mauchin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #6 from Robert-AndrĂ© Mauchin <[email protected]> ---
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
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to