packages: VirtualBox-bin/VirtualBox-bin.spec - updated for _alt_kernel
charles
charles at pld-linux.org
Mon Jun 7 23:42:54 CEST 2010
Author: charles Date: Mon Jun 7 21:42:54 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated for _alt_kernel
---- Files affected:
packages/VirtualBox-bin:
VirtualBox-bin.spec (1.34 -> 1.35)
---- Diffs:
================================================================
Index: packages/VirtualBox-bin/VirtualBox-bin.spec
diff -u packages/VirtualBox-bin/VirtualBox-bin.spec:1.34 packages/VirtualBox-bin/VirtualBox-bin.spec:1.35
--- packages/VirtualBox-bin/VirtualBox-bin.spec:1.34 Mon Jun 7 18:09:34 2010
+++ packages/VirtualBox-bin/VirtualBox-bin.spec Mon Jun 7 23:42:48 2010
@@ -3,8 +3,15 @@
%bcond_without dist_kernel # without distribution kernel
%bcond_without kernel # don't build kernel module
%bcond_without userspace # don't build userspace package
+%bcond_with force_userspace # force userspace build (useful if alt_kernel is set)
%bcond_with verbose # verbose kernel mod build
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine with_userspace
+%endif
+%if %{with force_userspace}
+%define with_userspace 1
+%endif
# disable debug - no symbols here
%define _enable_debug_packages 0
%define rel 1
@@ -13,9 +20,10 @@
%else
%define arch x86
%endif
-%define prev 62298
%define pname VirtualBox
+%define prev 62298
+
Summary: VirtualBox - x86 hardware virtualizer
Summary(pl.UTF-8): VirtualBox - wirtualizator sprzętu x86
Name: %{pname}-bin
@@ -37,7 +45,9 @@
Source9: %{pname}.sh
URL: http://www.virtualbox.org/
%{?with_userspace:BuildRequires: ffmpeg-libs}
-%{?with_kernel:BuildRequires: kernel-module-build}
+%if %{with kernel}
+%{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build}
+%endif
BuildRequires: rpmbuild(macros) >= 1.379
Requires(post,preun): /sbin/chkconfig
Requires(postun): /usr/sbin/groupdel
@@ -530,6 +540,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.35 2010/06/07 21:42:48 charles
+- updated for _alt_kernel
+
Revision 1.34 2010/06/07 16:09:34 pluto
- BR: kernel-module-build.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/VirtualBox-bin/VirtualBox-bin.spec?r1=1.34&r2=1.35&f=u
More information about the pld-cvs-commit
mailing list