# Generated by go2rpm
%bcond_without check

# https://gitlab.com/cznic/lexer
%global goipath         modernc.org/lexer
%global forgeurl        https://gitlab.com/cznic/lexer
Version:                1.0.0
%global commit          e92e62e6ff2ca3fbfa05edf504fede744b99936b
%global distprefix      %{nil}

%gometa

%global common_description %{expand:
Run time generator of action less scanners (lexeme recognizers).}

%global golicenses      LICENSE LICENSE-GO
%global godocs          AUTHORS CONTRIBUTORS README

Name:           %{goname}
Release:        1%{?dist}
Summary:        Run time generator of action less scanners

# Upstream license specification: BSD-3-Clause
License:        BSD
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(golang.org/x/exp/ebnf)
BuildRequires:  golang(modernc.org/fileutil)

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Sun May 12 17:10:53 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.0-1
- Initial package