#3 Update to upstream version 1.2.2
Closed 5 years ago by amoralej. Opened 5 years ago by amoralej.
Unknown source epel7  into  master

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

  /testify-69483b4.tar.gz

+ /testify-1.2.2.tar.gz

@@ -40,12 +40,12 @@

  %global shortcommit     %(c=%{commit}; echo ${c:0:7})

  

  Name:           golang-%{provider}-%{project}-%{repo}

- Version:        1.1.4

- Release:        0.2.git%{shortcommit}%{?dist}

+ Version:        1.2.2

+ Release:        1%{?dist}

  Summary:        Tools for testifying that your code will behave as you intend

  License:        MIT

  URL:            https://%{provider_prefix}

- Source0:        https://%{provider_prefix}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz

+ Source0:        https://%{provider_prefix}/archive/v%{version}.tar.gz#/%{repo}-%{version}.tar.gz

  

  # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required

  ExclusiveArch:  %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 aarch64 %{arm}}
@@ -108,9 +108,7 @@

  %endif

  

  %prep

- %setup -q -n %{repo}-%{commit}

- 

- mv LICENCE.txt LICENSE.txt

+ %setup -q -n %{repo}-%{version}

  

  %build

  
@@ -161,7 +159,7 @@

  

  %if 0%{?with_devel}

  %files devel -f devel.file-list

- %license LICENSE.txt

+ %license LICENSE

  %doc README.md

  %dir %{gopath}/src/%{provider}.%{provider_tld}/%{project}

  %dir %{gopath}/src/%{import_path}
@@ -169,11 +167,14 @@

  

  %if 0%{?with_unit_test}

  %files unit-test -f unit-test.file-list

- %license LICENSE.txt

+ %license LICENSE

  %doc README.md

  %endif

  

  %changelog

+ * Thu Dec 13 2018 Alfredo Moralejo <amoralej@redhat.com> - 1.2.2-1

+ - Update to upstream v1.2.2

+ 

  * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-0.2.git69483b4

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

  

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

- SHA512 (testify-69483b4.tar.gz) = 2b32ad9e97e0ad137c6b338ec539223e9975741cfea0351fb25cb6812dd1d44512716b0a311609f747b5428f344105c89816eef6aae42659b011a1ff8ef73761

+ SHA512 (testify-1.2.2.tar.gz) = d925fe6c118f212868967cf1985aa70ca460bf4e3486d58be689e05ff6368485b42cc9a4ae1d5ce40eed38be45678b11d399a26000ce35d6e5ad218fc7d022ed

Current build fails to build with the latest version of golang in
epel7.

This patch is updating to the latest version in fedora build which
works fine with golang 1.11.

Pull-Request has been closed by amoralej

5 years ago