# Generated by go2rpm 1.3
# Disable for now due to multiple test failures
%bcond_with check

# https://github.com/fanliao/go-promise
%global goipath         github.com/fanliao/go-promise
Version:                1.0.0.Alpha
%global commit          1890db352a72f9e6c6219c20111355cddc795297

%gometa

%global common_description %{expand:
A library to implement future and promise.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        4%{?dist}
Summary:        A library to implement future and promise

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

%if %{with check}
# Tests
BuildRequires:  golang(github.com/smartystreets/goconvey/convey)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.Alpha-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

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

* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0.Alpha-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Fri Jun 18 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 1.0.0.Alpha-1.20210618git1890db3
- Initial package