|
|
|
@ -100,6 +100,12 @@ Kubernetes client tools like kubectl
@@ -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 |
|
|
|
|