From 2e19ead4fd1072f02c9f9f6dd8cb5863fa0d85bb Mon Sep 17 00:00:00 2001 From: WANG Chao Date: Wed, 24 Sep 2014 13:21:18 +0800 Subject: [PATCH] spec: fix ppc64le build failure kexec-tools expects "powerpc64le" to pass to configure.ac, while we passed ppc64le. Otherwise the build fails. Now fix it like we did for ppc64. Signed-off-by: WANG Chao Acked-by: Vivek Goyal --- kexec-tools.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kexec-tools.spec b/kexec-tools.spec index 969dfa6..ca67ede 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -133,6 +133,10 @@ tar -z -x -v -f %{SOURCE23} %ifarch ppc64 --host=powerpc64-redhat-linux-gnu \ --build=powerpc64-redhat-linux-gnu \ +%endif +%ifarch ppc64le + --host=powerpc64le-redhat-linux-gnu \ + --build=powerpc64le-redhat-linux-gnu \ %endif --sbindir=/sbin rm -f kexec-tools.spec.in