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

# https://github.com/elliotchance/orderedmap
%global goipath         github.com/elliotchance/orderedmap
Version:                2.0.1

%gometa

%global common_description %{expand:
A high performance ordered map that maintains amortized O(1) for Set,
Get, Delete and Len.}

%global golicenses      LICENSE
%global godocs          README.md

Name:           %{goname}
Release:        4%{?dist}
Summary:        An ordered map in Go with O(1) for Set, Get, Delete and Len

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

# These architectures may fail to pass performance tests
ExcludeArch:    aarch64
ExcludeArch:    ppc64le
ExcludeArch:    s390x

%description
%{common_description}

%gopkg

%prep
%goprep

%generate_buildrequires
%go_generate_buildrequires

%install
%gopkginstall

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

%gopkgfiles

%changelog
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Wed Aug 10 2022 Maxwell G <gotmax@e.email> - 2.0.1-3
- Rebuild to fix FTBFS

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

* Fri Jun 24 2022 Julien Rische <jrische@redhat.com> - 2.0.1-1
- Initial package
- Resolves: rhbz#2074412