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 <chaowang@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
WANG Chao 2014-09-24 13:21:18 +08:00
parent affcb6eeda
commit 2e19ead4fd
1 changed files with 4 additions and 0 deletions

View File

@ -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