[golang-github-kr-pretty/f21] Choose the correct architecture

Jan Chaloupka jchaloup at fedoraproject.org
Wed Oct 22 08:08:20 UTC 2014


commit 5755f4a961eb1f8a1fcfced64dae3e3a445b9f37
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Mon Oct 20 10:53:04 2014 +0200

    Choose the correct architecture

 golang-github-kr-pretty.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/golang-github-kr-pretty.spec b/golang-github-kr-pretty.spec
index 94cb64e..7baf767 100644
--- a/golang-github-kr-pretty.spec
+++ b/golang-github-kr-pretty.spec
@@ -5,12 +5,16 @@
 
 Name:           golang-github-kr-pretty
 Version:        0
-Release:        0.2.git%{shortcommit}%{?dist}
+Release:        0.3.git%{shortcommit}%{?dist}
 Summary:        Provides pretty-printing for go values
 License:        MIT
 URL:            http://godoc.org/%{import_path}
 Source0:        https://%{import_path}/archive/%{commit}/pretty-%{shortcommit}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 Package pretty provides pretty-printing for go values. This is useful during
@@ -47,6 +51,9 @@ GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}
 %{gopath}/src/%{import_path}/*.go
 
 %changelog
+* Mon Oct 20 2014 jchaloup <jchaloup at redhat.com> - 0-0.3.git5feda8d
+- Choose the correct architecture
+
 * Mon Sep 15 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.2.git
 - don't redefine gopath
 - preserve timestamps


More information about the scm-commits mailing list