diff --git a/.gitignore b/.gitignore index 2b403fe..648bbba 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /testify-69483b4.tar.gz +/testify-1.2.2.tar.gz diff --git a/golang-github-stretchr-testify.spec b/golang-github-stretchr-testify.spec index 5b29cf7..8457a17 100644 --- a/golang-github-stretchr-testify.spec +++ b/golang-github-stretchr-testify.spec @@ -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 @@ providing packages with %{import_path} prefix. %endif %prep -%setup -q -n %{repo}-%{commit} - -mv LICENCE.txt LICENSE.txt +%setup -q -n %{repo}-%{version} %build @@ -161,7 +159,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %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 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %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 - 1.2.2-1 +- Update to upstream v1.2.2 + * Wed Feb 07 2018 Fedora Release Engineering - 1.1.4-0.2.git69483b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 6faf299..093c80e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (testify-69483b4.tar.gz) = 2b32ad9e97e0ad137c6b338ec539223e9975741cfea0351fb25cb6812dd1d44512716b0a311609f747b5428f344105c89816eef6aae42659b011a1ff8ef73761 +SHA512 (testify-1.2.2.tar.gz) = d925fe6c118f212868967cf1985aa70ca460bf4e3486d58be689e05ff6368485b42cc9a4ae1d5ce40eed38be45678b11d399a26000ce35d6e5ad218fc7d022ed