[golang-github-vaughan0-go-ini/f20] Choose the correct architecture - related: #1142398

Jan Chaloupka jchaloup at fedoraproject.org
Mon Jan 26 12:54:18 UTC 2015


commit e5f15f9186a0182765d91e9df632cf6ee88ad3d9
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Mon Jan 26 13:42:17 2015 +0100

    Choose the correct architecture
    - related: #1142398

 golang-github-vaughan0-go-ini.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/golang-github-vaughan0-go-ini.spec b/golang-github-vaughan0-go-ini.spec
index ce4e634..e4cf6f4 100644
--- a/golang-github-vaughan0-go-ini.spec
+++ b/golang-github-vaughan0-go-ini.spec
@@ -10,12 +10,16 @@
 
 Name:		golang-%{provider}-%{project}-%{repo}
 Version:	0
-Release:	0.2.git%{shortcommit}%{?dist}
+Release:	0.3.git%{shortcommit}%{?dist}
 Summary:	INI parsing library for Go
 License:	BSD
 URL:		http://%{import_path}
 Source0:	https://github.com/%{project}/%{repo}/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 @@ GOPATH=%{buildroot}/%{gopath} go test %{import_path}
 %{gopath}/src/%{import_path}/test.ini
 
 %changelog
+* Mon Jan 26 2015 jchaloup <jchaloup at redhat.com> - 0-0.3.gita98ad7e
+- Choose the correct architecture
+  related: #1142398
+
 * Fri Sep 19 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.2.gita98ad7e
 - noarch devel package
 - don't redefine gopath


More information about the scm-commits mailing list