From d6a257ed4731c273bb37c886b461b68cfcbf6fac Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Jun 12 2018 08:06:29 +0000 Subject: Upload glide files --- diff --git a/.gitignore b/.gitignore index d07a45d..f7507b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/go-immutable-radix-aca1bd0.tar.gz +/go-immutable-radix-aca1bd0689e10884f20d114aff148ddb849ece80.tar.gz diff --git a/Fix-formatting-error.patch b/Fix-formatting-error.patch new file mode 100644 index 0000000..7232acd --- /dev/null +++ b/Fix-formatting-error.patch @@ -0,0 +1,25 @@ +From b66e05a96a734bd0b556f1b2e198254f0ca13706 Mon Sep 17 00:00:00 2001 +From: Jan Chaloupka +Date: Tue, 12 Jun 2018 10:04:57 +0200 +Subject: [PATCH] Fix formatting error + +--- + iradix_test.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/iradix_test.go b/iradix_test.go +index 93d5d62..7b0bc0a 100644 +--- a/iradix_test.go ++++ b/iradix_test.go +@@ -129,7 +129,7 @@ func TestRoot(t *testing.T) { + } + val, ok := r.Get(nil) + if !ok || val != true { +- t.Fatalf("bad: %v %#v", val) ++ t.Fatalf("bad: %v %#v", val, val) + } + r, val, ok = r.Delete(nil) + if !ok || val != true { +-- +2.7.5 + diff --git a/glide.lock b/glide.lock new file mode 100644 index 0000000..15fcc23 --- /dev/null +++ b/glide.lock @@ -0,0 +1,4 @@ +hash: 177aac25ce9b0629881b933422abb13b8b8dd601288c129d58c20f75214924b6 +imports: [] +updated: '2018-06-12T08:05:56.200608+00:00' + diff --git a/glide.yaml b/glide.yaml new file mode 100644 index 0000000..5740d49 --- /dev/null +++ b/glide.yaml @@ -0,0 +1,3 @@ +import: [] +package: github.com/hashicorp/go-immutable-radix + diff --git a/golang-github-hashicorp-go-immutable-radix.spec b/golang-github-hashicorp-go-immutable-radix.spec index cbcd414..e9efc1c 100644 --- a/golang-github-hashicorp-go-immutable-radix.spec +++ b/golang-github-hashicorp-go-immutable-radix.spec @@ -1,18 +1,21 @@ # http://github.com/hashicorp/go-immutable-radix -%global provider_prefix github.com/hashicorp/go-immutable-radix -%global gobaseipath %{provider_prefix} + +%global goipath github.com/hashicorp/go-immutable-radix %global commit aca1bd0689e10884f20d114aff148ddb849ece80 -%global commitdate 20151012 -%gocraftmeta -i -Name: %{goname} +%gometa -i + +Name: golang-github-hashicorp-go-immutable-radix Version: 0 -Release: 0.9.%{commitdate}git%{shortcommit}%{?dist} +Release: 0.10%{?dist} Summary: An immutable radix tree implementation in Golang License: MPLv2.0 URL: %{gourl} Source0: %{gosource} +Source1: glide.yaml +Source2: glide.yaml +Patch0: Fix-formatting-error.patch %description %{summary} @@ -26,17 +29,18 @@ BuildArch: noarch This package contains library source intended for building other packages which use import path with -%{gobaseipath} prefix. +%{goipath} prefix. %prep -%gosetup +%gosetup -q +cp %{SOURCE1} %{SOURCE2} . +%patch0 -p1 %install -%goinstall +%goinstall glide.lock glide.yaml %check -#Fatalf format %#v reads arg #2, but call has only 1 arg -%gochecks %{gobaseipath} +%gochecks #define license tag if not already defined %{!?_licensedir:%global license %doc} @@ -46,6 +50,9 @@ building other packages which use import path with %doc README.md %changelog +* 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 diff --git a/sources b/sources index 665266c..7592d08 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6c83179062c3f269c20b419af07de56a go-immutable-radix-aca1bd0.tar.gz +SHA512 (go-immutable-radix-aca1bd0689e10884f20d114aff148ddb849ece80.tar.gz) = 43055a32a406d53e2f8362c28b885caad38a7d53bc846a3ad3fe2adaacccb5131d25dc6a92483daf0aec76f4dd12620e550ae9456f08ca84d09e05596f66c7e4