From 4d51f3a91a12d3d8d8ed015ba0e340a36be8cc17 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Oct 25 2018 15:17:22 +0000 Subject: Bump to commit 860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86 --- diff --git a/.gitignore b/.gitignore index 908a251..25ae3da 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /go-http-auth-c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35.tar.gz +/go-http-auth-b6a92f468f2b01961e796d20e3ec5bbb8a8297d6.tar.gz +/go-http-auth-860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86.tar.gz diff --git a/0001-Fix-Fatalf-error.patch b/0001-Fix-Fatalf-error.patch new file mode 100644 index 0000000..0e26ff9 --- /dev/null +++ b/0001-Fix-Fatalf-error.patch @@ -0,0 +1,24 @@ +From b1cd1d66afd9556d5a353a45023f4cbb1b081fb4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= +Date: Fri, 5 Oct 2018 18:44:58 +0200 +Subject: [PATCH] Fix Fatalf error + +--- + misc_test.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/misc_test.go b/misc_test.go +index 31a920f..7123717 100644 +--- a/misc_test.go ++++ b/misc_test.go +@@ -32,6 +32,6 @@ func TestParsePairs(t *testing.T) { + got := ParsePairs(header) + + if !reflect.DeepEqual(got, want) { +- t.Fatalf("failed to correctly parse pairs, got %v, want %v\ndiff: %s", got, want) ++ t.Fatalf("failed to correctly parse pairs, got %v, want %v", got, want) + } + } +-- +2.19.0 + diff --git a/golang-github-abbot-go-http-auth.spec b/golang-github-abbot-go-http-auth.spec index 05aa128..790fa4d 100644 --- a/golang-github-abbot-go-http-auth.spec +++ b/golang-github-abbot-go-http-auth.spec @@ -1,12 +1,12 @@ # https://github.com/abbot/go-http-auth %global goipath github.com/abbot/go-http-auth -%global commit c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35 +%global commit 860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86 -%gometa -i +%gometa Name: golang-github-abbot-go-http-auth Version: 0 -Release: 0.17%{?dist} +Release: 0.18%{?dist} Summary: Basic and Digest HTTP Authentication for golang http License: ASL 2.0 URL: %{gourl} @@ -14,6 +14,8 @@ Source0: %{gosource} Source1: glide.lock Source2: glide.yaml +Patch0: 0001-Fix-Fatalf-error.patch + %description This is an implementation of HTTP Basic and HTTP Digest authentication in Go language. @@ -23,6 +25,9 @@ It is designed as a simple wrapper for http.RequestHandler functions. Summary: %{summary} BuildArch: noarch +BuildRequires: golang(golang.org/x/crypto/bcrypt) +BuildRequires: golang(golang.org/x/net/context) + %description devel %{summary} @@ -31,7 +36,7 @@ building other packages which use import path with %{goipath} prefix. %prep -%forgesetup +%forgeautosetup -p1 cp %{SOURCE1} %{SOURCE2} . %install @@ -48,12 +53,14 @@ cp %{SOURCE1} %{SOURCE2} . %doc README.md %changelog -* Tue Oct 23 2018 Nicolas Mailhot -- 0-0.17 +* Thu Oct 25 2018 Robert-André Mauchin - 0-0.18.20181025git860ed7f +- Bump to commit 860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86 + +* Tue Oct 23 2018 Nicolas Mailhot - 0-0.17.20181005gitb6a92f4 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ -* Fri Jul 13 2018 Fedora Release Engineering - Forge-specific packaging variables +* Fri Jul 13 2018 Fedora Release Engineering - 0-0.16.gitc0ef453 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 08 2018 Jan Chaloupka - 0-0.15.gitc0ef453 diff --git a/sources b/sources index 182e38d..1524b58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-http-auth-c0ef4539dfab4d21c8ef20ba2924f9fc6f186d35.tar.gz) = 0e8c688e3a137aca342b6b1430b2269ba9bb96a5780704e6198036997d26778299fa86213c237c8528e1e4ce802dabe4e2e7f5de2868da30ebe01b7c8752360e +SHA512 (go-http-auth-860ed7f246ff5abfdbd5c7ce618fd37b49fd3d86.tar.gz) = 6d12f6d657da98d1c75f55a7cd5d432ada6d7b87e1b6714c2947efaaf58fed61307c14a20749a32174766bfd84e0aaeefd6ec93bb77b3fc88f1a283582c70165