Author: sergiomb
Update of /cvs/free/rpms/VirtualBox/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv30358
Modified Files:
VirtualBox-4.1.20-x113.patch VirtualBox.spec
Log Message:
* Sat Jan 26 2013 Sérgio Basto <sergio(a)serjux.com> - 4.2.6-3
- fix for rfbz #2662, systemd of F18 changed names of udev services.
VirtualBox-4.1.20-x113.patch:
vboxvideo.c | 55 +++++++++++++++++++++++--------------------------------
vboxvideo.h | 2 +-
vboxvideo_dri.c | 4 ++--
3 files changed, 26 insertions(+), 35 deletions(-)
Index: VirtualBox-4.1.20-x113.patch
===================================================================
RCS file: /cvs/free/rpms/VirtualBox/devel/VirtualBox-4.1.20-x113.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- VirtualBox-4.1.20-x113.patch 26 Dec 2012 06:01:09 -0000 1.4
+++ VirtualBox-4.1.20-x113.patch 26 Jan 2013 11:56:42 -0000 1.5
@@ -1,4 +1,4 @@
-X.org 1.13 patch , not in use, stay just for references.
+X.org 1.13 patch , not in use, just stay for references.
Reference:
http://www.mail-archive.com/xorg-devel@lists.x.org/msg30282.html
[PATCH 01/19] xserver: remove index from CloseScreen (API/ABI breakage) Dave Airlie
Index: VirtualBox.spec
===================================================================
RCS file: /cvs/free/rpms/VirtualBox/devel/VirtualBox.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- VirtualBox.spec 15 Jan 2013 23:26:23 -0000 1.35
+++ VirtualBox.spec 26 Jan 2013 11:56:42 -0000 1.36
@@ -27,7 +27,7 @@
Name: VirtualBox
Version: 4.2.6
-Release: 2%{?prerel:.%{prerel}}%{?dist}
+Release: 3%{?prerel:.%{prerel}}%{?dist}
Summary: A general-purpose full virtualizer for PC hardware
Group: Development/Tools
@@ -471,13 +471,22 @@
/usr/bin/update-mime-database %{_datadir}/mime &>/dev/null || :
# Assign USB devices
-if /sbin/udevadm control --reload-rules >/dev/null 2>&1
-then
+# reference for non-systemd OS
+#if /sbin/udevadm control --reload-rules >/dev/null 2>&1
+#then
# /sbin/udevadm trigger --subsystem-match=usb >/dev/null 2>&1 || :
# /sbin/udevadm settle >/dev/null 2>&1 || :
+#fi
+%if 0%{?fedora} < 18
+ systemctl restart udev.service
systemctl restart udev-trigger.service
systemctl restart udev-settle.service
-fi
+%else
+ systemctl restart systemd-udevd.service
+ systemctl restart systemd-udev-trigger.service
+ systemctl restart systemd-udev-settle.service
+%endif
+
# should be in kmod package, not here
/bin/systemctl try-restart fedora-loadmodules.service >/dev/null 2>&1 || :
@@ -614,6 +623,9 @@
%changelog
+* Sat Jan 26 2013 Sérgio Basto <sergio(a)serjux.com> - 4.2.6-3
+- fix for rfbz #2662, systemd of F18 changed names of udev services.
+
* Tue Jan 15 2013 Sérgio Basto <sergio(a)serjux.com> - 4.2.6-2
- Re enable_docs after add some BuildRequires of new texlive.
- VBoxGuestLib is not need for new X11-xorg, so no compile instead patch source to