## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 1;
    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
    print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec

# Generated by go2rpm 1.8.1
%bcond_without check
%global debug_package %{nil}

# https://github.com/sahilm/fuzzy
%global goipath         github.com/sahilm/fuzzy
Version:                0.1.0

%gometa -f

%global common_description %{expand:
Go library that provides fuzzy string matching optimized for filenames and code
symbols in the style of Sublime Text, VSCode, IntelliJ IDEA et al.}

%global golicenses      LICENSE
%global godocs          _example CONTRIBUTING.md README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Go library that provides fuzzy string matching

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

BuildRequires:  golang(github.com/kylelemons/godebug/pretty)

%description %{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Mon Oct 31 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 0.1.0-1
- Initial package - Closes rhbz#2131496