SPECS (AC-branch): VirtualBox.spec - current ac kernel stuff

glen glen at pld-linux.org
Fri Feb 29 19:05:20 CET 2008


Author: glen                         Date: Fri Feb 29 18:05:20 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- current ac kernel stuff

---- Files affected:
SPECS:
   VirtualBox.spec (1.44.2.8 -> 1.44.2.9) 

---- Diffs:

================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.44.2.8 SPECS/VirtualBox.spec:1.44.2.9
--- SPECS/VirtualBox.spec:1.44.2.8	Fri Feb 29 19:01:03 2008
+++ SPECS/VirtualBox.spec	Fri Feb 29 19:05:15 2008
@@ -14,8 +14,6 @@
 %bcond_without	smp		# without SMP kernel modules
 %bcond_without	userspace	# don't build userspace package
 
-%define		rel		1
-
 %if %{without kernel}
 %undefine	with_dist_kernel
 %endif
@@ -30,7 +28,7 @@
 Summary(pl.UTF-8):	VirtualBox - wirtualizator sprzętu x86
 Name:		%{pname}%{_alt_kernel}
 Version:	1.5.6
-Release:	%{rel}
+Release:	1
 License:	GPL v2
 Group:		Applications/Emulators
 Source0:	http://www.virtualbox.org/download/%{version}/%{pname}-%{version}-1_OSE.tar.bz2
@@ -141,7 +139,6 @@
 %package udev
 Summary:	udev rules for VirtualBox kernel modules
 Summary(pl.UTF-8):	Reguły udev dla modułów jądra Linuksa dla VirtualBoksa
-Release:	%{rel}
 Group:		Base/Kernel
 Requires:	udev
 
@@ -154,15 +151,10 @@
 %package -n kernel%{_alt_kernel}-misc-vboxadd
 Summary:	Linux kernel module for VirtualBox
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla VirtualBoksa
-Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
-%if %{with dist_kernel}
-%requires_releq_kernel_up
-Requires(postun):	%releq_kernel_up
-%endif
-Provides:	kernel(vboxadd) = %{version}-%{rel}
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}(vermagic) = %{_kernel_ver}}
 
 %description -n kernel%{_alt_kernel}-misc-vboxadd
 Linux kernel module vboxadd for VirtualBox.
@@ -173,15 +165,10 @@
 %package -n kernel%{_alt_kernel}-misc-vboxdrv
 Summary:	Linux kernel module for VirtualBox
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla VirtualBoksa
-Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
-%if %{with dist_kernel}
-%requires_releq_kernel_up
-Requires(postun):	%releq_kernel_up
-%endif
-Provides:	kernel(vboxdrv) = %{version}-%{rel}
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}(vermagic) = %{_kernel_ver}}
 
 %description -n kernel%{_alt_kernel}-misc-vboxdrv
 Linux kernel module vboxdrv for VirtualBox.
@@ -192,15 +179,10 @@
 %package -n kernel%{_alt_kernel}-misc-vboxvfs
 Summary:	Linux kernel module for VirtualBox
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla VirtualBoksa
-Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
-%if %{with dist_kernel}
-%requires_releq_kernel_up
-Requires(postun):	%releq_kernel_up
-%endif
-Provides:	kernel(vboxvfs) = %{version}-%{rel}
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}(vermagic) = %{_kernel_ver}}
 
 %description -n kernel%{_alt_kernel}-misc-vboxvfs
 Linux kernel module vboxvfs for VirtualBox.
@@ -211,15 +193,10 @@
 %package -n kernel%{_alt_kernel}-smp-misc-vboxadd
 Summary:	Linux SMP kernel module for VirtualBox
 Summary(pl.UTF-8):	Moduł jądra Linuksa SMP dla VirtualBoksa
-Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
-%if %{with dist_kernel}
-%requires_releq_kernel_smp
-Requires(postun):	%releq_kernel_smp
-%endif
-Provides:	kernel(vboxadd) = %{version}-%{rel}
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
 
 %description -n kernel%{_alt_kernel}-smp-misc-vboxadd
 Linux SMP kernel module vboxadd for VirtualBox.
@@ -230,15 +207,10 @@
 %package -n kernel%{_alt_kernel}-smp-misc-vboxdrv
 Summary:	Linux SMP kernel module for VirtualBox
 Summary(pl.UTF-8):	Moduł jądra Linuksa SMP dla VirtualBoksa
-Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
-%if %{with dist_kernel}
-%requires_releq_kernel_smp
-Requires(postun):	%releq_kernel_smp
-%endif
-Provides:	kernel(vboxdrv) = %{version}-%{rel}
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
 
 %description -n kernel%{_alt_kernel}-smp-misc-vboxdrv
 Linux SMP kernel module vboxdrv for VirtualBox.
@@ -249,15 +221,10 @@
 %package -n kernel%{_alt_kernel}-smp-misc-vboxvfs
 Summary:	Linux SMP kernel module for VirtualBox
 Summary(pl.UTF-8):	Moduł jądra Linuksa SMP dla VirtualBoksa
-Release:	%{rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 Requires(post,postun):	/sbin/depmod
 Requires:	dev >= 2.9.0-7
-%if %{with dist_kernel}
-%requires_releq_kernel_smp
-Requires(postun):	%releq_kernel_smp
-%endif
-Provides:	kernel(vboxvfs) = %{version}-%{rel}
+%{?with_dist_kernel:Requires:	kernel%{_alt_kernel}-smp(vermagic) = %{_kernel_ver}}
 
 %description -n kernel%{_alt_kernel}-smp-misc-vboxvfs
 Linux SMP kernel module vboxvfs for VirtualBox.
@@ -268,7 +235,6 @@
 %package -n X11-driver-input-vboxmouse
 Summary:	X.org mouse driver for VirtualBox guest OS
 Summary(pl.UTF-8):	Sterownik myszy dla systemu gościa w VirtualBoksie
-Release:	%{rel}
 Group:		X11/Applications
 Requires:	X11-Xserver >= 1:6.9.0
 
@@ -281,7 +247,6 @@
 %package -n X11-driver-video-vboxvideo
 Summary:	X.org video driver for VirtualBox guest OS
 Summary(pl.UTF-8):	Sterownik grafiki dla systemu gościa w VirtualBoksie
-Release:	%{rel}
 Group:		X11/Applications
 Requires:	X11-Xserver >= 1:6.9.0
 
@@ -552,6 +517,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44.2.9  2008-02-29 18:05:15  glen
+- current ac kernel stuff
+
 Revision 1.44.2.8  2008-02-29 18:01:03  glen
 - edit src in prep
 - ac kernel doesn't do local Module.symvers, and missing syms aren't fatal
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VirtualBox.spec?r1=1.44.2.8&r2=1.44.2.9&f=u



More information about the pld-cvs-commit mailing list