# Generated by go2rpm %bcond_without check # https://github.com/tonistiigi/go-immutable-radix %global goipath github.com/tonistiigi/go-immutable-radix %global commit 826af9ccf0feeee615d546d69b11f8e98da8c8f1 %gometa %global common_description %{expand: The Iradix package implements an immutable radix tree. The package only provides a single Tree implementation, optimized for sparse nodes.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Version: 0 Release: 0.9%{?dist} Summary: Immutable radix tree implementation in Golang # Upstream license specification: MPL-2.0 License: MPLv2.0 URL: %{gourl} Source0: %{gosource} # Because we switch from uuid to go-uuid Patch0: 0001-fix-for-GenerateUUID.patch 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 %patch0 -p1 find . -name "*.go" -exec sed -i "s|github.com/hashicorp/uuid|github.com/hashicorp/go-uuid|" "{}" +; %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0-0.9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0-0.8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0-0.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0-0.6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0-0.5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0-0.4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0-0.3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0-0.2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 08 21:30:06 CEST 2019 Robert-André Mauchin - 0-0.1.20190628git826af9c - Initial package