diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5f388b5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-immutable-radix-1.1.0.tar.gz diff --git a/golang-github-hashicorp-immutable-radix.spec b/golang-github-hashicorp-immutable-radix.spec new file mode 100644 index 0000000..db45963 --- /dev/null +++ b/golang-github-hashicorp-immutable-radix.spec @@ -0,0 +1,108 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/hashicorp/go-immutable-radix +%global goipath github.com/hashicorp/go-immutable-radix +Version: 1.1.0 + +%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 README.md + +Name: %{goname} +Release: 1%{?dist} +Summary: An immutable radix tree implementation in golang + +# 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 +* Thu Apr 18 16:23:58 CEST 2019 Robert-André Mauchin - 1.1.0-1 +- Release 1.1.0 + +* Sat Feb 09 2019 Elliott Sales de Andrade - 1.0.0-1 +- Update to first tagged version + +* Fri Feb 01 2019 Fedora Release Engineering - 0-0.13.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.12.gitaca1bd0 +- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias +- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ + +* Fri Jul 13 2018 Fedora Release Engineering - 0-0.11.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 12 2018 Jan Chaloupka - 0-0.10.gitaca1bd0 +- Upload glide files + +* Wed Feb 28 2018 Jan Chaloupka - 0-0.9.20151012gitaca1bd0 +- Autogenerate some parts using the new macros + +* Wed Feb 07 2018 Fedora Release Engineering - 0-0.8.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 0-0.7.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0-0.6.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0-0.5.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jul 21 2016 Fedora Release Engineering - 0-0.4.gitaca1bd0 +- https://fedoraproject.org/wiki/Changes/golang1.7 + +* Mon Feb 22 2016 Fedora Release Engineering - 0-0.3.gitaca1bd0 +- https://fedoraproject.org/wiki/Changes/golang1.6 + +* Wed Feb 03 2016 Fedora Release Engineering - 0-0.2.gitaca1bd0 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 13 2016 jchaloup - 0-0.1.gitaca1bd0 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..e4e465d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-immutable-radix-1.1.0.tar.gz) = 85e4754e7d4cb19c00717d4273b5d8f5c68aa3349a6f28dfbd2f879be26b7d3711a2b5d092512a720946d5209d47ccfeb76d0e007b22354b2b9733daf90aa45d