## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 2;
    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.0
%bcond_without check
%global debug_package %{nil}

# https://github.com/AlecAivazis/survey
%global goipath         github.com/AlecAivazis/survey/v2
Version:                2.3.6

%gometa -f

%global common_description %{expand:
A golang library for building interactive and accessible prompts with full
support for windows and posix terminals.}

%global golicenses      LICENSE terminal/LICENSE.txt
%global godocs          CONTRIBUTING.md README.md terminal/README.md

Name:           %{goname}
Release:        %autorelease
Summary:        A golang library for building interactive and accessible prompts

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

%description %{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Sat Sep 10 2022 Fedora Release Engineering <releng@fedoraproject.org> 2.3.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Sat Sep 10 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 2.3.6-1
- Update to 2.3.6 - Closes rhbz#2125763

* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 2.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Wed Jun 08 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 2.3.5-1
- Update to 2.3.5 - Closes rhbz#2095055

* Tue Mar 29 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 2.3.4-1
- Update to 2.3.4 - Closes rhbz#2066476

* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Sun Sep 26 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.3.2-1
- Initial package