diff --git a/docker.spec b/docker.spec index 24f3ff8..1b44371 100644 --- a/docker.spec +++ b/docker.spec @@ -130,6 +130,7 @@ servers, OpenStack clusters, public instances, or combinations of the above. %if 0%{?with_devel} %package devel +%ifarch %{golang_arches} BuildRequires: golang >= 1.2.1-3 %else BuildRequires: gcc-go >= %{gccgo_min_vers}