From 6167626ff01e575a995e2cbe98cbf22290b6001f Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Sep 15 2022 20:03:41 +0000 Subject: Update to 0.4.0 - Close: rhbz#1942811 --- diff --git a/.gitignore b/.gitignore index 90efb59..816c8c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /memberlist-28424fb38c7c3e30f366b72b1a55f690d318d8f3.tar.gz /memberlist-0.1.3.tar.gz /memberlist-0.2.2.tar.gz +/memberlist-0.4.0.tar.gz diff --git a/glide.lock b/glide.lock deleted file mode 100644 index e17d47c..0000000 --- a/glide.lock +++ /dev/null @@ -1,10 +0,0 @@ -hash: 9ee7ebc4bf7ceb42e3ba9d77d811ab9713646610d6dab5fc4a06747d9c57ce72 -imports: -- name: github.com/hashicorp/go-msgpack - subpackages: - - codec - version: fa3f63826f7c23912c15263591e65d54d080b458 -- name: github.com/armon/go-metrics - version: 6c5fa0d8f48f4661c9ba8709799c88d425ad20f0 -updated: '2018-06-12T11:10:39.812559+00:00' - diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index 6b7cd36..0000000 --- a/glide.yaml +++ /dev/null @@ -1,9 +0,0 @@ -import: -- package: github.com/hashicorp/go-msgpack - subpackages: - - codec - version: fa3f63826f7c23912c15263591e65d54d080b458 -- package: github.com/armon/go-metrics - version: 6c5fa0d8f48f4661c9ba8709799c88d425ad20f0 -package: github.com/hashicorp/memberlist - diff --git a/golang-github-hashicorp-memberlist.spec b/golang-github-hashicorp-memberlist.spec index ec6f7be..6c542d9 100644 --- a/golang-github-hashicorp-memberlist.spec +++ b/golang-github-hashicorp-memberlist.spec @@ -1,12 +1,13 @@ -# Generated by go2rpm +# Generated by go2rpm 1.8.1 # https://github.com/hashicorp/memberlist/issues/195 -%ifnarch %{ix86} %{arm} +%if 0%{?__isa_bits} == 32 %bcond_without check %endif +%global debug_package %{nil} # https://github.com/hashicorp/memberlist %global goipath github.com/hashicorp/memberlist -Version: 0.2.2 +Version: 0.4.0 %gometa @@ -26,40 +27,23 @@ attempting to communicate to potentially dead nodes through multiple routes.} %global golicenses LICENSE %global godocs README.md todo.md -%global gosupfiles glide.lock glide.yaml - Name: %{goname} Release: %autorelease -Summary: Go package for gossip based membership and failure detection +Summary: Golang package for gossip based membership and failure detection -# Upstream license specification: MPL-2.0 -License: MPLv2.0 +License: MPL-2.0 URL: %{gourl} -Source0: %{gosource} -Source1: glide.yaml -Source2: glide.lock - -BuildRequires: golang(github.com/armon/go-metrics) -BuildRequires: golang(github.com/google/btree) -BuildRequires: golang(github.com/hashicorp/go-msgpack/codec) -BuildRequires: golang(github.com/hashicorp/go-multierror) -BuildRequires: golang(github.com/hashicorp/go-sockaddr) -BuildRequires: golang(github.com/miekg/dns) -BuildRequires: golang(github.com/sean-/seed) +Source: %{gosource} -%if %{with check} -# Tests -BuildRequires: golang(github.com/stretchr/testify/require) -%endif - -%description -%{common_description} +%description %{common_description} %gopkg %prep %goprep -cp %{S:1} %{S:2} . + +%generate_buildrequires +%go_generate_buildrequires %install %gopkginstall diff --git a/sources b/sources index da623b3..3e34df7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memberlist-0.2.2.tar.gz) = 3b555fe7b9e1c89e137cda75bf5dbd0609be8a213227a1171927864bff0260725e631258ce006768434d07047f5872a16bb4d31271c6cbd8ef8467317a384844 +SHA512 (memberlist-0.4.0.tar.gz) = beb237fcfaea95755c6d849ba3a81cdb94192de27cb51444bc8ce2411ec1f232f99e9f9be750c2803a9a143380ab1c200aea40a717b20d4d0c3973108aa4bd12