From 97a2d1fc155f58f7eea3621f9a50d31c9e55a06e Mon Sep 17 00:00:00 2001 From: virtbuilder_pel7ppc64bebuilder0 Date: Sun, 31 May 2020 15:30:53 +0200 Subject: [PATCH] kubernetes ppc64 changes (WIP) Signed-off-by: virtbuilder_pel7ppc64bebuilder0 --- SPECS/kubernetes.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SPECS/kubernetes.spec b/SPECS/kubernetes.spec index b83775a..ee7faad 100644 --- a/SPECS/kubernetes.spec +++ b/SPECS/kubernetes.spec @@ -100,6 +100,12 @@ Kubernetes client tools like kubectl %setup -q -n %{repo}-%{commit} mkdir -p src/k8s.io/kubernetes mv $(ls | grep -v "^src$") src/k8s.io/kubernetes/. +%ifarch ppc64 +sed 's/ppc64le/ppc64/' -i src/k8s.io/kubernetes/cluster/clientbin.sh +sed 's/ppc64le/ppc64/' -i src/k8s.io/kubernetes/cluster/gce/upgrade.sh +sed 's/ppc64le/ppc64/' -i src/k8s.io/kubernetes/hack/lib/util.sh +sed 's/ppc64le/ppc64/' -i src/k8s.io/kubernetes/hack/local-up-cluster.sh +%endif %build