From 872c59b0ba4312e441e32d9928f0a3d63fea9e7943ff5263a56a34cdcbb79959 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Sat, 15 Feb 2014 16:13:29 +0000 Subject: [PATCH] Accepting request 222443 from home:bfrogers:branches:Virtualization Fixes bnc#864094, which was introduced a few days ago. OBS-URL: https://build.opensuse.org/request/show/222443 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=184 --- qemu.changes | 5 +++++ qemu.spec | 2 ++ qemu.spec.in | 2 ++ 3 files changed, 9 insertions(+) diff --git a/qemu.changes b/qemu.changes index 5f844652..3ae2a022 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 15 15:46:54 UTC 2014 - brogers@suse.com + +- Fix improperly formatted wrapper script (bnc#864094) + ------------------------------------------------------------------- Fri Feb 14 15:07:40 UTC 2014 - afaerber@suse.de diff --git a/qemu.spec b/qemu.spec index 8071464c..f384981d 100644 --- a/qemu.spec +++ b/qemu.spec @@ -426,6 +426,8 @@ install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf %endif %ifarch %ix86 x86_64 s390x cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' +#!/bin/sh + %ifarch %s390x exec /usr/bin/qemu-system-s390x -machine accel=kvm "$@" %else diff --git a/qemu.spec.in b/qemu.spec.in index 5bb25074..5a1ae66a 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -344,6 +344,8 @@ install -D -m 644 %{SOURCE302} $RPM_BUILD_ROOT/%{_sysconfdir}/qemu/bridge.conf %endif %ifarch %ix86 x86_64 s390x cat > %{buildroot}%{_bindir}/qemu-kvm << 'EOF' +#!/bin/sh + %ifarch %s390x exec /usr/bin/qemu-system-s390x -machine accel=kvm "$@" %else