[golang-github-stretchr-testify/el6] Bump to upstream d6577e08ec30538639ac0ea38b562b6f250e9055 Spec file polishing to follow go draft - r
Jan Chaloupka
jchaloup at fedoraproject.org
Fri Oct 24 10:52:36 UTC 2014
commit 5847c4a96c5c81136e83f38299786380a5675f23
Author: Jan Chaloupka <jchaloup at redhat.com>
Date: Thu Oct 23 15:51:53 2014 +0200
Bump to upstream d6577e08ec30538639ac0ea38b562b6f250e9055
Spec file polishing to follow go draft
- related: #1141872
.gitignore | 2 +-
golang-github-stretchr-testify.spec | 25 +++++++++++++++++++------
sources | 2 +-
3 files changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7de03ff..b1eb68e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/testify-da775f0.tar.gz
+/testify-d6577e0.tar.gz
diff --git a/golang-github-stretchr-testify.spec b/golang-github-stretchr-testify.spec
index ecf42b3..fb86be6 100644
--- a/golang-github-stretchr-testify.spec
+++ b/golang-github-stretchr-testify.spec
@@ -1,16 +1,24 @@
%global debug_package %{nil}
-%global import_path github.com/stretchr/testify
-%global commit da775f0337260efbac0fce9764cee5bd3e8c85b8
+%global provider github
+%global provider_tld com
+%global project stretchr
+%global repo testify
+%global import_path %{provider}.%{provider_tld}/%{project}/%{repo}
+%global commit d6577e08ec30538639ac0ea38b562b6f250e9055
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-Name: golang-github-stretchr-testify
+Name: golang-%{provider}-%{project}-%{repo}
Version: 0
-Release: 0.4.git%{shortcommit}%{?dist}
+Release: 0.5.git%{shortcommit}%{?dist}
Summary: Tools for testifying that your code will behave as you intend
License: MIT
URL: http://godoc.org/%{import_path}
-Source0: https://%{import_path}/archive/%{commit}/testify-%{shortcommit}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch: noarch
+%else
ExclusiveArch: %{ix86} x86_64 %{arm}
+%endif
%description
Thou Shalt Write Tests
@@ -37,7 +45,7 @@ Go code (golang) set of packages that provide many tools for testifying that
your code will behave as you intend.
%prep
-%setup -q -n testify-%{commit}
+%setup -q -n %{repo}-%{commit}
mv LICENCE.txt LICENSE.txt
@@ -73,6 +81,11 @@ done
%{gopath}/src/%{import_path}/suite/*.go
%changelog
+* Thu Oct 23 2014 jchaloup <jchaloup at redhat.com> - 0-0.5.gitd6577e0
+- Bump to upstream d6577e08ec30538639ac0ea38b562b6f250e9055
+- Spec file polishing to follow go draft
+ related: #1141872
+
* Tue Oct 14 2014 jchaloup <jchaloup at redhat.com> - 0-0.4.gitda775f0
- BuildArch to ExclusiveArch
diff --git a/sources b/sources
index 564eb53..d4f3bce 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-caf0ae83603dc52e382e143df98e7bfc testify-da775f0.tar.gz
+6f165949676732088dccde13bbd95d7e testify-d6577e0.tar.gz
More information about the scm-commits
mailing list