From ade63c415df8c33dd8a8a9dbad301a789565d91e Mon Sep 17 00:00:00 2001 From: virtbuilder_pel7ppc64bebuilder0 Date: Wed, 27 Mar 2019 15:59:11 +0100 Subject: [PATCH] skopeo add ppc64 support Signed-off-by: virtbuilder_pel7ppc64bebuilder0 --- SPECS/skopeo.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SPECS/skopeo.spec b/SPECS/skopeo.spec index d6cc32a..95f73e6 100644 --- a/SPECS/skopeo.spec +++ b/SPECS/skopeo.spec @@ -29,7 +29,7 @@ # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required # manually listed arches due https://bugzilla.redhat.com/show_bug.cgi?id=1391932 (removed ppc64) -ExcludeArch: ppc64 +#ExcludeArch: ppc64 Name: %{repo} %if 0%{?fedora} > 28 @@ -272,6 +272,9 @@ export GOPATH=$(pwd):%{gopath} export GOPATH=$(pwd):$(pwd)/vendor:%{gopath} %endif +%ifarch ppc64 +export CGO_ENABLED=1 +%endif %gobuild -o %{name} ./cmd/%{name} %{__make} docs