|
|
@ -149,6 +149,9 @@ low-level storage and network attachments, etc. |
|
|
|
%build |
|
|
|
%build |
|
|
|
%gobuildroot |
|
|
|
%gobuildroot |
|
|
|
export LDFLAGS="-X %{goipath}/version.Version=%{version}" |
|
|
|
export LDFLAGS="-X %{goipath}/version.Version=%{version}" |
|
|
|
|
|
|
|
%ifarch ppc64 |
|
|
|
|
|
|
|
export CGO_ENABLED=1 |
|
|
|
|
|
|
|
%endif |
|
|
|
%gobuild -o _bin/containerd %{goipath}/cmd/containerd |
|
|
|
%gobuild -o _bin/containerd %{goipath}/cmd/containerd |
|
|
|
%gobuild -o _bin/containerd-shim %{goipath}/cmd/containerd-shim |
|
|
|
%gobuild -o _bin/containerd-shim %{goipath}/cmd/containerd-shim |
|
|
|
%gobuild -o _bin/ctr %{goipath}/cmd/ctr |
|
|
|
%gobuild -o _bin/ctr %{goipath}/cmd/ctr |
|
|
|