From 30c69e2903d661b2666cf8a06dd2e1593359c0704a61c02fa5d77d14326dd100 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Wed, 15 Aug 2012 20:57:27 +0000 Subject: [PATCH] update qemu.spec.in OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=99 --- qemu.spec.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qemu.spec.in b/qemu.spec.in index 5720b027..384a29c1 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -42,6 +42,10 @@ BuildRequires: libattr-devel BuildRequires: libgnutls-devel BuildRequires: libpcap-devel BuildRequires: ncurses-devel +# we must not install the qemu package when under qemu build +%if 0%{?qemu_user_space_build:1} +BuildRequires: -post-build-checks +%endif %if 0%{?suse_version} >= 1120 BuildRequires: zlib-devel-static %else @@ -73,9 +77,9 @@ BuildRequires: glib2-devel BuildRequires: libvdeplug3-devel BuildRequires: pwdutils BuildRequires: python +Requires: /usr/sbin/groupadd Requires: pwdutils Requires: timezone -Requires: /usr/sbin/groupadd Recommends: qemu-tools %description