From 5f1cc77bbde30abffeb22dcfe11daadf2f6a597acbfd6d6762e34e744e2b9be8 Mon Sep 17 00:00:00 2001 From: Michal Seben Date: Fri, 7 Jan 2011 21:34:14 +0000 Subject: [PATCH] fix build for older distros OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=15 --- virtualbox.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/virtualbox.spec b/virtualbox.spec index a472ca1..cc2f9a6 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -31,8 +31,9 @@ BuildRequires: SDL-devel kernel-syms module-init-tools BuildRequires: e2fsprogs-devel libcap-devel libcurl-devel python-devel update-desktop-files BuildRequires: hal-devel pulseaudio-devel xorg-x11 xorg-x11-devel xorg-x11-server xorg-x11-server-sdk BuildRequires: LibVNCServer-devel gcc43-c++ kbuild pam-devel udev -#added for vbox 4.0.0 -BuildRequires: zlib-devel-static +%if %suse_version > 1110 +BuildRequires: zlib-devel-static +%endif %ifarch amd64 x86_64 ia32e em64t BuildRequires: hal-32bit BuildRequires: xorg-x11-libX11-devel-32bit xorg-x11-libXt-devel-32bit xorg-x11-libs-32bit