[golang-googlecode-goauth2/el6] Choose the correct architecture - related: #1141822

Jan Chaloupka jchaloup at fedoraproject.org
Tue Nov 18 07:53:29 UTC 2014


commit a50403d570c3512614f89b5649da46ec3d5a0f2a
Author: Jan Chaloupka <jchaloup at redhat.com>
Date:   Tue Nov 18 08:42:15 2014 +0100

    Choose the correct architecture
    - related: #1141822

 golang-googlecode-goauth2.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/golang-googlecode-goauth2.spec b/golang-googlecode-goauth2.spec
index bdcd050..146740e 100644
--- a/golang-googlecode-goauth2.spec
+++ b/golang-googlecode-goauth2.spec
@@ -8,12 +8,16 @@
 
 Name:           golang-%{provider}%{provider_sub}-%{repo}
 Version:        0
-Release:        0.3.hg%{shortrev}%{?dist}
+Release:        0.4.hg%{shortrev}%{?dist}
 Summary:        OAuth 2.0 for Go clients
 License:        BSD
 URL:            http://%{import_path}
 Source0:        https://%{repo}.%{provider}%{provider_sub}.%{provider_tld}/archive/%{rev}.tar.gz
+%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
 BuildArch:      noarch
+%else
+ExclusiveArch:  %{ix86} x86_64 %{arm}
+%endif
 
 %description
 %{summary}
@@ -72,6 +76,10 @@ GOPATH=%{gopath}:%{buildroot}/%{gopath} go test %{import_path}/oauth
 %{gopath}/src/%{import_path}/compute/serviceaccount/*.go
 
 %changelog
+* Tue Nov 18 2014 jchaloup <jchaloup at redhat.com> - 0-0.4.hgafe77d958c70
+- Choose the correct architecture
+  related: #1141822
+
 * Thu Sep 18 2014 jchaloup <jchaloup at redhat.com> - 0-0.3.hgafe77d958c70
 - Initial commit to git
 


More information about the scm-commits mailing list