From c1ae4c89ab78ef07694de137b30d539af1e3f8ebdb5935c245560a9561703191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 9 Jun 2015 11:37:33 +0000 Subject: [PATCH] - Disable multiversion_kernel support, taken from nvidia driver spec, should fix bnc#925663. OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=196 --- virtualbox.changes | 6 ++++++ virtualbox.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index 94fdb2f..4eda5c7 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 9 11:36:42 UTC 2015 - tchvatal@suse.com + +- Disable multiversion_kernel support, taken from nvidia driver spec, + should fix bnc#925663. + ------------------------------------------------------------------- Wed May 27 10:22:22 UTC 2015 - jslaby@suse.com diff --git a/virtualbox.spec b/virtualbox.spec index c7c0681..7ed1e44 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -16,6 +16,8 @@ # +%define kmp_template_name /usr/lib/rpm/kernel-module-subpackage +%(sed -e '/^Provides: multiversion(kernel)/d' %kmp_template_name > %_builddir/virtualbox-kmp-template) %define _vbox_instdir %{_libexecdir}/virtualbox %define _udevrulesdir %{_libexecdir}/udev/rules.d Name: virtualbox @@ -190,7 +192,7 @@ websrv GUI part for %{name}. Summary: Host kernel module for VirtualBox Group: System/Emulators/PC # SUSE specify macro to define host kmp package -%{?suse_kernel_module_package:%suse_kernel_module_package -p %{SOURCE7} -n %{name}-host -f %{SOURCE5} kdump um xen xenpae} +%{?suse_kernel_module_package:%suse_kernel_module_package -t %_builddir/virtualbox-kmp-template -p %{SOURCE7} -n %{name}-host -f %{SOURCE5} kdump um xen xenpae} %description host-KMP This package contains the kernel-module for VirtualBox. @@ -200,7 +202,7 @@ This package contains the kernel-module for VirtualBox. Summary: Guest kernel modules for VirtualBox Group: System/Emulators/PC #SUSE specify macro to define guest kmp package -%{?suse_kernel_module_package:%suse_kernel_module_package -p %{SOURCE8} -n %{name}-guest -f %{SOURCE6} kdump um xen xenpae} +%{?suse_kernel_module_package:%suse_kernel_module_package -t %_builddir/virtualbox-kmp-template -p %{SOURCE8} -n %{name}-guest -f %{SOURCE6} kdump um xen xenpae} %description guest-KMP This package contains the kernel-module for VirtualBox.