From 3fb6c6cf9a9e56acde1ef88c5678e33ff8f42a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= Date: Tue, 18 Mar 2014 16:20:13 +0400 Subject: [PATCH] try to fix bug #569 --- virtualbox.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/virtualbox.spec b/virtualbox.spec index 6ea1a55..d74d105 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -27,7 +27,7 @@ Summary: A general-purpose full virtualizer for x86 hardware Name: virtualbox Version: 4.3.8 -Release: 1 +Release: 2 License: GPLv2 Group: Emulators Url: http://www.virtualbox.org/ @@ -122,6 +122,7 @@ VirtualBox is a general-purpose full virtualizer for x86 hardware. %package -n dkms-%{name} Summary: VirtualBox kernel module Group: System/Kernel and hardware +Requires: dkms Requires(post,preun): dkms Conflicts: dkms-vboxadditions < 4.1.8 @@ -151,6 +152,9 @@ Obsoletes: dkms-vboxadd < %{version}-%{release} %rename dkms-vboxsf %rename dkms-vboxvideo = %{version}-%{release} Conflicts: dkms-%{name} < 4.1.8 +Requires: dkms +Requires(post,preun): dkms +Requires(post): kernel-devel %description -n dkms-vboxadditions Kernel module for VirtualBox additions (ideally only needs to be installed