[packages/open-vm-tools] - don't build userspace for alt_kernel

baggins baggins at pld-linux.org
Fri Aug 30 07:36:13 CEST 2013


commit 3eb519e03450c230ee3c3c47b25664d7529de41a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Aug 30 07:36:00 2013 +0200

    - don't build userspace for alt_kernel

 open-vm-tools.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/open-vm-tools.spec b/open-vm-tools.spec
index 4dae5cb..2b6cfcb 100644
--- a/open-vm-tools.spec
+++ b/open-vm-tools.spec
@@ -3,6 +3,13 @@
 %bcond_without	kernel		# without kernel modules
 %bcond_without	dist_kernel	# without distribution kernel
 %bcond_without	userspace	# without userspace package
+#
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine	with_userspace
+%endif
+%if %{without kernel}
+%undefine	with_dist_kernel
+%endif
 
 %define		snap    2011.10.26
 %define		subver	%(echo %{snap} | tr -d .)
@@ -10,7 +17,7 @@
 %define		rev     1031360
 %define		rel	12
 %define		pname	open-vm-tools
-%define     modsrc	modules/linux
+%define		modsrc	modules/linux
 Summary:	VMWare guest utilities
 Summary(pl.UTF-8):	Narzędzia dla systemu-gościa dla VMware
 Name:		%{pname}%{_alt_kernel}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/open-vm-tools.git/commitdiff/3eb519e03450c230ee3c3c47b25664d7529de41a



More information about the pld-cvs-commit mailing list