Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > 2e782e3d17d8b3948953f32d1e6e8057 > files > 2

golang-github-hashicorp-immutable-radix-1.3.1-1.mga9.src.rpm

# Generated by go2rpm
%bcond_without check

# https://github.com/hashicorp/go-immutable-radix
%global goipath         github.com/hashicorp/go-immutable-radix
Version:                1.3.1

%gometa

%global common_description %{expand:
Provides the iradix package that implements an immutable radix tree. The package
only provides a single Tree implementation, optimized for sparse nodes.

As a radix tree, it provides the following:

 - O(k) operations. In many cases, this can be faster than a hash table since
   the hash function is an O(k) operation, and hash tables have very poor cache
   locality.
 - Minimum / Maximum value lookups
 - Ordered iteration

A tree supports using a transaction to batch multiple updates (insert, delete)
in a more efficient manner than performing each operation one at a time.}

%global golicenses      LICENSE
%global godocs          CHANGELOG.md README.md

Name:           %{goname}
Release:        %mkrel 1
Summary:        An immutable radix tree implementation in golang
Group:          Development/Other
BuildArch:      noarch
# Upstream license specification: MPL-2.0
License:        MPLv2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/hashicorp/golang-lru/simplelru)

%if %{with check}
# Tests
BuildRequires:  golang(github.com/hashicorp/go-uuid)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

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

%gopkgfiles



%changelog
* Fri Dec 09 2022 pterjan <pterjan> 1.3.1-1.mga9
+ Revision: 1920112
- Update to 1.3.1

* Wed Mar 23 2022 umeabot <umeabot> 1.3.0-3.mga9
+ Revision: 1820864
- Mageia 9 Mass Rebuild

* Sun Nov 14 2021 guillomovitch <guillomovitch> 1.3.0-2.mga9
+ Revision: 1756575
- rebuild for mageia 9

* Tue Dec 29 2020 pterjan <pterjan> 1.3.0-1.mga8
+ Revision: 1665154
- Mageiaize
- imported package golang-github-hashicorp-immutable-radix