From 66071ea4168c41a2f519aaf976ecb07fc6412b41 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Oct 12 2023 14:30:25 +0000 Subject: Update to 2.4.0 - Closes rhbz#2051033 rhbz#2163111 --- diff --git a/.gitignore b/.gitignore index 4d082d8..55ba240 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /hdfs-2.2.0.tar.gz +/hdfs-2.4.0.tar.gz diff --git a/golang-github-colinmarc-hdfs-2.spec b/golang-github-colinmarc-hdfs-2.spec index 75b1da8..e7f26b6 100644 --- a/golang-github-colinmarc-hdfs-2.spec +++ b/golang-github-colinmarc-hdfs-2.spec @@ -1,12 +1,12 @@ -# Generated by go2rpm 1.3 +# Generated by go2rpm 1.9.0 %bcond_without check # https://github.com/colinmarc/hdfs %global goipath github.com/colinmarc/hdfs/v2 -%global forgeurl https://github.com/colinmarc/hdfs -Version: 2.2.0 +Version: 2.4.0 + +%gometa -f -%gometa %global common_description %{expand: This is a native golang client for hdfs. It connects directly to the namenode @@ -24,32 +24,18 @@ Summary: Native go client for HDFS License: MIT URL: %{gourl} -Source0: %{gosource} - -BuildRequires: golang(github.com/golang/protobuf/proto) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/client) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/config) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/credentials) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/crypto) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/gssapi) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/iana/keyusage) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/spnego) -BuildRequires: golang(github.com/jcmturner/gokrb5/v8/types) -BuildRequires: golang(github.com/pborman/getopt) +Source: %{gosource} -%if %{with check} -# Tests -BuildRequires: golang(github.com/stretchr/testify/assert) -BuildRequires: golang(github.com/stretchr/testify/require) -%endif - -%description -%{common_description} +%description %{common_description} %gopkg %prep %goprep +%autopatch -p1 + +%generate_buildrequires +%go_generate_buildrequires %build export LDFLAGS="-X main.version=%{version} " diff --git a/sources b/sources index c985566..90dd942 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hdfs-2.2.0.tar.gz) = 54c6c0de5be637da3a1850320787c73f7b62724ed395c3b129350b914b9cdea3ea0e3dc5cf7130773e756e3090eeec370aa838d0596d5ce353b72733b15a0786 +SHA512 (hdfs-2.4.0.tar.gz) = 677f8adbc9cae168d9ad018645ab65398fa123f2be044483971b355ed2612109d5758fcfa9d301e9e43a2c242c229e1dfe7c1bb21faefcc919238bcaa6de77c3