From 70ab31820687397f9d22144cd852f97f37b11060 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Aug 02 2023 18:01:11 +0000 Subject: Update to 8.4.4 - Closes rhbz#2111845 --- diff --git a/.gitignore b/.gitignore index 8c61842..64bd059 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /gokrb5-8.4.1.tar.gz /gokrb5-8.4.2.tar.gz +/gokrb5-8.4.4.tar.gz diff --git a/golang-github-jcmturner-gokrb5.spec b/golang-github-jcmturner-gokrb5.spec index a8664f5..95aa72a 100644 --- a/golang-github-jcmturner-gokrb5.spec +++ b/golang-github-jcmturner-gokrb5.spec @@ -1,54 +1,51 @@ -# Generated by go2rpm 1 +# Generated by go2rpm 1.9.0 %bcond_without check +%global debug_package %{nil} # https://github.com/jcmturner/gokrb5 %global goipath github.com/jcmturner/gokrb5 -Version: 8.4.2 +Version: 8.4.4 %gometa + +%global goaltipaths github.com/jcmturner/gokrb5/v8 + %global common_description %{expand: Pure Go Kerberos library for clients and services.} -%global golicenses LICENSE -%global godocs examples CONTRIBUTING.md v8/README.md v8/USAGE.md +%global golicenses LICENSE NOTICE +%global godocs examples USAGE.md CONTRIBUTING.md README.md examples\\\ + v8/USAGE.md v8/README.md v8/gssapi/README.md\\\ + gssapi/README.md Name: %{goname} Release: %autorelease Summary: Pure Go Kerberos library for clients and services -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: %{gourl} -Source0: %{gosource} - -BuildRequires: golang(github.com/hashicorp/go-uuid) -BuildRequires: golang(github.com/jcmturner/aescts/v2) -BuildRequires: golang(github.com/jcmturner/dnsutils/v2) -BuildRequires: golang(github.com/jcmturner/gofork/encoding/asn1) -BuildRequires: golang(github.com/jcmturner/gofork/x/crypto/pbkdf2) -BuildRequires: golang(github.com/jcmturner/goidentity/v6) -BuildRequires: golang(github.com/jcmturner/rpc/v2/mstypes) -BuildRequires: golang(github.com/jcmturner/rpc/v2/ndr) -BuildRequires: golang(golang.org/x/crypto/md4) -BuildRequires: golang(golang.org/x/crypto/pbkdf2) - -%if %{with check} -# Tests -BuildRequires: golang(github.com/gorilla/sessions) -BuildRequires: golang(github.com/stretchr/testify/assert) -%endif +Source: %{gosource} -%description -%{common_description} +%description %{common_description} %gopkg %prep %goprep +%autopatch -p1 + rm -rf "*.go" find . -mindepth 1 -maxdepth 1 -not -wholename './v8' -not -wholename './_build' -type d -exec rm -rf {} + +mv v8/USAGE.md USAGE-v8 +mv v8/README.md README-v8 +mv v8/gssapi/README.md README-gssapi-v8 + + +%generate_buildrequires +%go_generate_buildrequires + %install %gopkginstall diff --git a/sources b/sources index 684933b..8ac3845 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gokrb5-8.4.2.tar.gz) = 3b325c427bda422d7db3abb2e503870e7bc56770d0b4608f448e6a6938bf8e2917ff8018f14d1786e73d729a373d33d3c3bed1bc90175e8a1d3c99332b22b0ec +SHA512 (gokrb5-8.4.4.tar.gz) = 01952c1e9ada0ab760966c54846fb8d0f13a621758200ef91ea19451e03a9162c0c67120e4e101442a5f4b225dcd17cac364f7b3fbcaff5d8fef7f1592cae5d1