From c22919ec1943553ce99b362b71312f6d9831e053182533d148611a01d5d15f07 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 21 Jan 2013 13:35:51 +0000 Subject: [PATCH] Accepting request 149422 from home:sndirsch:branches:Virtualization - install 1.13 vboxvideo driver on openSUSE 12.3 (bnc#799480) OBS-URL: https://build.opensuse.org/request/show/149422 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=112 --- virtualbox.changes | 5 +++++ virtualbox.spec | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index c2b780d..c89063c 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 21 10:32:45 UTC 2013 - sndirsch@suse.com + +- install 1.13 vboxvideo driver on openSUSE 12.3 (bnc#799480) + ------------------------------------------------------------------- Sat Dec 29 08:22:27 UTC 2012 - mseben@gmail.com diff --git a/virtualbox.spec b/virtualbox.spec index c77ac1f..1889a10 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -1,7 +1,7 @@ # # spec file for package virtualbox # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -409,7 +409,11 @@ pushd out/linux.*/release/bin/additions/ # check the patch https://www.virtualbox.org/changeset/38784, regarding the # dropped xorg mouse driver in >= 1130 -%if %suse_version > 1210 +%if %suse_version > 1220 + %__install -m 755 vboxvideo_drv_113.so \ + %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so +%else +%if %suse_version == 1220 %__install -m 755 vboxvideo_drv_112.so \ %{buildroot}%{_libdir}/xorg/modules/drivers/vboxvideo_drv.so %else @@ -439,7 +443,8 @@ pushd out/linux.*/release/bin/additions/ %endif #if =1130 %endif #if =1140 %endif #if =1210 -%endif #if >1210 +%endif #if =1220 +%endif #if >1220 popd # VBoxOGL* libs for guest-x11 subpackage %__install -m 644 out/linux.*/release/bin/additions/VBoxOGL*.so \