From 7318b4b66069b93d63a79153cebbb117f426fba7 Mon Sep 17 00:00:00 2001 From: Nitesh Konkar Date: Fri, 5 Oct 2018 20:23:39 +0530 Subject: [PATCH] qemu-vanilla: Make spec-template file requirement arch-specific The spec-template file looks for x86 specific files irrespective of the arch on which packaging is done for. Fixes: #216 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com --- obs-packaging/qemu-vanilla/qemu-vanilla.spec-template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obs-packaging/qemu-vanilla/qemu-vanilla.spec-template b/obs-packaging/qemu-vanilla/qemu-vanilla.spec-template index 6572cb57a8..380d04eebb 100644 --- a/obs-packaging/qemu-vanilla/qemu-vanilla.spec-template +++ b/obs-packaging/qemu-vanilla/qemu-vanilla.spec-template @@ -113,7 +113,11 @@ done %defattr(-,root,root,-) /usr/bin/qemu-vanilla-ga /usr/bin/qemu-vanilla-pr-helper +%ifarch x86_64 /usr/bin/qemu-vanilla-system-x86_64 +%else +/usr/bin/qemu-vanilla-system-ppc64 +%endif /usr/bin/virtfs-vanilla-proxy-helper %dir /usr/libexec %dir /usr/libexec/qemu-vanilla