## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/tchap/go-patricia %global goipath github.com/tchap/go-patricia Version: 2.3.1 %gometa %global goaltipaths github.com/tchap/go-patricia/v2 %global common_description %{expand: A generic patricia trie (also called radix tree) implemented in Go (Golang). The patricia trie as implemented in this library enables fast visiting of items in some particular ways: - visit all items saved in the tree, - visit all items matching particular prefix (visit subtree), or - given a string, visit all items matching some prefix of that string.} %global golicenses LICENSE %global godocs AUTHORS README.md Name: %{goname} Release: %autorelease Summary: A generic patricia trie (also called radix tree) implemented in Go (Golang) License: MIT URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestTrie_DeleteLeakageDense" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 2.3.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 2.3.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 2.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 2.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 28 2022 Robert-André Mauchin - 2.3.1-7 - Disable TestTrie_DeleteLeakageDense test * Mon Nov 28 2022 Robert-André Mauchin - 2.3.1-6 - Add alternate import path * Sun Sep 25 2022 Robert-André Mauchin - 2.3.1-5 - SPEC cleanup * Thu Jul 21 2022 Fedora Release Engineering - 2.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 2.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Sep 02 2021 Fabian Affolter - 2.3.1-1 - Update to latest upstream release 2.3.1 (closes rhbz#1933358) * Thu Jul 22 2021 Fedora Release Engineering - 2.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 2.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 2.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 09 2019 Elliott Sales de Andrade - 2.3.0-2 - Add Obsoletes for old name * Sun May 05 18:58:29 CEST 2019 Robert-André Mauchin - 2.3.0-1 - Release 2.3.0 * Wed Feb 13 2019 Jan Chaloupka - 1.0.1-15 - Fix formatting error resolves: #1675037 * Fri Feb 01 2019 Fedora Release Engineering - 1.0.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.0.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 1.0.1-9 - https://fedoraproject.org/wiki/Changes/golang1.7 * Wed Mar 16 2016 jchaloup - 1.0.1-8 - Polish the spec file resolves: #1318341 * Mon Feb 22 2016 Fedora Release Engineering - 1.0.1-7 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 1.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jul 30 2014 Lokesh Mandvekar - 1.0.1-4 - Resolves: rhbz#1117562 - package review request - Remove conditional for fedora/rhel (separately deal with el6) * Thu Jul 24 2014 Lokesh Mandvekar - 1.0.1-3 - disable debuginfo * Wed Jul 16 2014 Lokesh Mandvekar - 1.0.1-2 - From: Vincent Batts - use macros from golang >= 1.2.1-3 - preserve timestamps of copied source - do not own directories owned by golang * Tue Jul 08 2014 Lokesh Mandvekar - 1.0.1-1 - Initial fedora package ## END: Generated by rpmautospec