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