From e5a7bb07ce4dfc9cbfd68cd7182187a8a6acb3e8 Mon Sep 17 00:00:00 2001 From: Carl George Date: Jan 07 2019 18:36:53 +0000 Subject: Add fallback for go_arches Without this fallback, koji will report 'BuildError: No matching arches were found'. --- diff --git a/containerd.spec b/containerd.spec index 797c629..efad79a 100644 --- a/containerd.spec +++ b/containerd.spec @@ -7,7 +7,7 @@ Version: 1.2.1 %bcond_without tests %endif %else -ExclusiveArch: %{go_arches} +ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm} aarch64 ppc64le s390x %{mips}} %global debug_package %{nil} %global gosource https://%{goipath}/archive/v%{version}/containerd-%{version}.tar.gz %define gobuildroot %{expand: