From bf7df3ea36c588e34429b8a56c455808cbb03f09 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Oct 26 2014 19:29:43 +0000 Subject: - Choose the correct architecture relates: #1148481 --- diff --git a/golang-googlecode-go-exp.spec b/golang-googlecode-go-exp.spec index ffb2d44..41a5536 100644 --- a/golang-googlecode-go-exp.spec +++ b/golang-googlecode-go-exp.spec @@ -16,7 +16,11 @@ Summary: Experimental tools and packages for Go License: BSD URL: http://%{import_path} Source0: https://exp.go.googlecode.com/archive/%{commit}.tar.gz +%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7 +BuildArch: noarch +%else ExclusiveArch: %{ix86} x86_64 %{arm} +%endif %description %{summary}. @@ -78,8 +82,9 @@ GOPATH=%{buildroot}/%{gopath}:%{gopath} go test %{import_path}/{ebnf,ebnflint,fs %{gopath}/src/%{import_path}/*/*/*.go %changelog -* Tue Oct 14 2014 jchaloup - 0-0.2.hgbd8df7009305 -- BuildArch to ExclusiveArch +* Sun Oct 26 2014 jchaloup - 0-0.2.hgbd8df7009305 +- Choose the correct architecture + relates: #1148481 * Mon Sep 15 2014 Eric Paris