#2 Update to latest version.
Merged 4 years ago by qulogic. Opened 4 years ago by qulogic.
rpms/ qulogic/golang-github-bep-gitmap master  into  master

file modified
+1
@@ -1,2 +1,3 @@ 

  /gitmap-dcb907b.tar.gz

  /gitmap-1.0.0.tar.gz

+ /gitmap-1.1.1.tar.gz

0001-Skip-repo-tests.patch skip-repo-tests.patch
file renamed
+20 -5
@@ -1,5 +1,17 @@ 

+ From c52c7ba741fc0d59240e075a2839e24e589642bf Mon Sep 17 00:00:00 2001

+ From: Elliott Sales de Andrade <quantum.analyst@gmail.com>

+ Date: Tue, 26 Feb 2019 05:29:14 -0500

+ Subject: [PATCH] Skip repo tests.

+ 

+ These tests expect gitmap to be a real clone instead of an archive.

+ 

+ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>

+ ---

+  gitmap_test.go | 8 ++++----

+  1 file changed, 4 insertions(+), 4 deletions(-)

+ 

  diff --git a/gitmap_test.go b/gitmap_test.go

- index df14c76..3c5c018 100644

+ index d8202f7..d91e2a1 100644

  --- a/gitmap_test.go

  +++ b/gitmap_test.go

  @@ -32,7 +32,7 @@ func TestMap(t *testing.T) {
@@ -11,7 +23,7 @@ 

   	}

   

   	gm = gr.Files

- @@ -101,7 +101,7 @@ func TestActiveRevision(t *testing.T) {

+ @@ -121,7 +121,7 @@ func TestActiveRevision(t *testing.T) {

   	)

   

   	if gr, err = Map(repository, "HEAD"); err != nil {
@@ -20,7 +32,7 @@ 

   	}

   

   	gm = gr.Files

- @@ -137,7 +137,7 @@ func TestEncodeJSON(t *testing.T) {

+ @@ -157,7 +157,7 @@ func TestEncodeJSON(t *testing.T) {

   	)

   

   	if gr, err = Map(repository, revision); err != nil {
@@ -29,7 +41,7 @@ 

   	}

   

   	gm = gr.Files

- @@ -184,7 +184,7 @@ func TestTopLevelAbsPath(t *testing.T) {

+ @@ -204,7 +204,7 @@ func TestTopLevelAbsPath(t *testing.T) {

   	)

   

   	if gr, err = Map(repository, revision); err != nil {
@@ -37,4 +49,7 @@ 

  +		t.Skip(err)

   	}

   

-  	expected := "github.com/bep/gitmap"

+  	expected := "/bep/gitmap"

+ -- 

+ 2.21.1

+ 

@@ -3,7 +3,7 @@ 

  

  # https://github.com/bep/gitmap

  %global goipath         github.com/bep/gitmap

- Version:                1.0.0

+ Version:                1.1.1

  

  %gometa

  
@@ -22,14 +22,14 @@ 

  %global godocs          README.md

  

  Name:           %{goname}

- Release:        4%{?dist}

+ Release:        1%{?dist}

  Summary:        Create map from filename to info object from revision of a repo

  

  License:        MIT

  URL:            %{gourl}

  Source0:        %{gosource}

  # Skip tests that expect gitmap to be a real clone instead of an archive

- Patch0:         skip-repo-tests.patch

+ Patch0:         0001-Skip-repo-tests.patch

  

  BuildRequires:  git-core

  
@@ -53,6 +53,9 @@ 

  %gopkgfiles

  

  %changelog

+ * Sat Feb 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.1-1

+ - Update to latest version

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (gitmap-1.0.0.tar.gz) = b0b1e53db59111cc4d6d452de69d1c3ba3304871e91c7a8b3ac03c0e3ddfe3ff21204f1f7a9455517f31173080e4413a2bd6306d666a090adc6db89e62860375

+ SHA512 (gitmap-1.1.1.tar.gz) = ab59393f0a0d77c56b4cb381817e714174e8d6d649c97c4bc2715aa32c4fab58ce4560b203465a8612015a55d5216a829a45bb14fe8e1b16cdf8db4c40cd5c0f