[golang-github-kr-text/el6] Choose the correct architecture

Jan Chaloupka jchaloup at fedoraproject.org
Mon Oct 20 08:55:31 UTC 2014


commit b3309eb1610cb57c0c6b8e4ff8a6afaca0410403
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Mon Oct 20 10:51:42 2014 +0200

    Choose the correct architecture

 golang-github-kr-text.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/golang-github-kr-text.spec b/golang-github-kr-text.spec
index d8a0895..90e9f99 100644
--- a/golang-github-kr-text.spec
+++ b/golang-github-kr-text.spec
@@ -5,12 +5,16 @@
 
 Name:           golang-github-kr-text
 Version:        0
-Release:        0.3.git%{shortcommit}%{?dist}
+Release:        0.4.git%{shortcommit}%{?dist}
 Summary:        Go package for manipulating paragraphs of text
 License:        MIT
 URL:            http://godoc.org/%{import_path}
 Source0:        https://%{import_path}/archive/%{commit}/text-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 %{summary}
@@ -62,6 +66,9 @@ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}/mc
 %{gopath}/src/%{import_path}/mc/*.go
 
 %changelog
+* Mon Oct 20 2014 jchaloup <jchaloup at redhat.com> - 0-0.4.git6807e77
+- Choose the correct architecture
+
 * Fri Sep 19 2014 Jan Chaloupka <jchaloup at fedoraproject.org> - 0-0.3.git6807e77
 - add golang version with necessary golang macros
 - quiet setup


More information about the scm-commits mailing list