SPECS: VirtualBox.spec - added udev rules - added missing patch - ...
kosmo
kosmo at pld-linux.org
Wed Oct 24 10:29:47 CEST 2007
Author: kosmo Date: Wed Oct 24 08:29:47 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added udev rules
- added missing patch
- thx to Rafal Cygnarowski <zswi at pers.pl>
---- Files affected:
SPECS:
VirtualBox.spec (1.37 -> 1.38)
---- Diffs:
================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.37 SPECS/VirtualBox.spec:1.38
--- SPECS/VirtualBox.spec:1.37 Tue Oct 23 09:00:23 2007
+++ SPECS/VirtualBox.spec Wed Oct 24 10:29:42 2007
@@ -35,7 +35,7 @@
Patch0: %{name}-configure.patch
Patch1: %{name}-qt-paths.patch
Patch2: %{name}-shared-libstdc++.patch
-#Patch3: %{name}-disable-xclient-build.patch
+Patch3: %{name}-disable-xclient-build.patch
URL: http://www.virtualbox.org/
BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel
@@ -208,9 +208,13 @@
%patch1 -p0
%patch2 -p1
-#%ifarch %{x8664}
-#%patch3 -p1
-#%endif
+%ifarch %{x8664}
+%patch3 -p1
+%endif
+
+cat <<'EOF' > udev.conf
+KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660"
+EOF
install %{SOURCE1} .
@@ -295,6 +299,9 @@
%endif
%if %{with kernel}
+install -d $RPM_BUILD_ROOT/etc/udev/rules.d
+install udev.conf $RPM_BUILD_ROOT/etc/udev/rules.d/virtualbox.rules
+
cd PLD-MODULE-BUILD
for MODULE in *; do
[ ! -d $MODULE ] && continue;
@@ -400,6 +407,7 @@
%files -n kernel%{_alt_kernel}-misc-vboxdrv
%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) /etc/udev/rules.d/virtualbox.rules
/lib/modules/%{_kernel_ver}/misc/vboxdrv.ko*
%files -n kernel%{_alt_kernel}-misc-vboxvfs
@@ -413,6 +421,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.38 2007/10/24 08:29:42 kosmo
+- added udev rules
+- added missing patch
+- thx to Rafal Cygnarowski <zswi at pers.pl>
+
Revision 1.37 2007/10/23 07:00:23 pascalek
- disabled missing patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VirtualBox.spec?r1=1.37&r2=1.38&f=u
More information about the pld-cvs-commit
mailing list