Browse Source

skopeo add ppc64 support

Signed-off-by: virtbuilder_pel7ppc64bebuilder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7ppc64bebuilder0 5 years ago
parent
commit
ade63c415d
  1. 5
      SPECS/skopeo.spec

5
SPECS/skopeo.spec

@ -29,7 +29,7 @@ @@ -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} @@ -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


Loading…
Cancel
Save