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