[golang-github-coreos-go-etcd/el6: 3/3] Choose the correct architecture - related: #1141807

Jan Chaloupka jchaloup at fedoraproject.org
Thu Oct 23 13:16:52 UTC 2014


commit 7c037190609f20194f6648a0f2a306d32793140c
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Thu Oct 23 15:02:12 2014 +0200

    Choose the correct architecture
    - related: #1141807

 golang-github-coreos-go-etcd.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-coreos-go-etcd.spec b/golang-github-coreos-go-etcd.spec
index bb45356..58096a9 100644
--- a/golang-github-coreos-go-etcd.spec
+++ b/golang-github-coreos-go-etcd.spec
@@ -10,12 +10,16 @@
 
 Name:       golang-%{provider}-%{project}-%{repo}
 Version:    0.2.0
-Release:    0.3.rc1.git%{shortcommit}%{?dist}
+Release:    0.4.rc1.git%{shortcommit}%{?dist}
 Summary:    The official etcd v0.2 client library for Go
 License:    ASL 2.0
 URL:        http://%{import_path}
 Source0:    https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
-BuildArch:  noarch
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
+BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 %{summary}
@@ -50,6 +54,10 @@ cp -pav etcd/*.go  %{buildroot}/%{gopath}/src/%{import_path}/etcd
 %attr(644,-,-) %{gopath}/src/%{import_path}/etcd/*.go
 
 %changelog
+* Thu Oct 23 2014 jchaloup <jchaloup at redhat.com> - 0.2.0-0.4.rc1.git6fe04d5
+- Choose the correct architecture
+  related: #1141807
+
 * Thu Oct 23 2014 jchaloup <jchaloup at redhat.com> - 0.2.0-0.3.rc1.git6fe04d5
 - Bump to upstream 6fe04d580dfb71c9e34cbce2f4df9eefd1e1241e
   resolves: #1141807


More information about the scm-commits mailing list