From 55e6a7243f91ffeb1601c733af56ea81fed62e80ea4d32e6632dc13acb5c3c44 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sun, 11 Dec 2011 03:08:04 +0000 Subject: [PATCH] - fix compilation on sle11 - add %fdupes for duplicate file checking OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=30 --- qemu.changes | 6 ++++++ qemu.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/qemu.changes b/qemu.changes index e3dbc865..192e2121 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 11 03:07:39 UTC 2011 - agraf@arch.suse.de + +- fix compilation on sle11 +- add %fdupes for duplicate file checking + ------------------------------------------------------------------- Sun Dec 11 00:36:35 UTC 2011 - agraf@suse.com diff --git a/qemu.spec b/qemu.spec index dd3a89bb..e8c60f08 100644 --- a/qemu.spec +++ b/qemu.spec @@ -87,6 +87,8 @@ BuildRequires: glib2-devel-static %endif BuildRequires: libvdeplug3-devel BuildRequires: glib2-devel +BuildRequires: python +BuildRequires: fdupes Requires: timezone virt-utils %description @@ -189,6 +191,7 @@ ln -sf ../../../emul/ia32-linux $RPM_BUILD_ROOT/usr/share/qemu/qemu-i386 %ifnarch ia64 mkdir -p $RPM_BUILD_ROOT/emul/ia32-linux %endif +%fdupes -s $RPM_BUILD_ROOT %clean rm -rf ${RPM_BUILD_ROOT}