SPECS: qemu.spec - disable debuginfo for kernel only build

glen glen at pld-linux.org
Sat May 24 01:44:11 CEST 2008


Author: glen                         Date: Fri May 23 23:44:11 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- disable debuginfo for kernel only build

---- Files affected:
SPECS:
   qemu.spec (1.110 -> 1.111) 

---- Diffs:

================================================================
Index: SPECS/qemu.spec
diff -u SPECS/qemu.spec:1.110 SPECS/qemu.spec:1.111
--- SPECS/qemu.spec:1.110	Sat May 24 01:18:14 2008
+++ SPECS/qemu.spec	Sat May 24 01:44:06 2008
@@ -15,25 +15,28 @@
 %bcond_without	kernel			# build kqemu KERNEL MODULES
 %bcond_without	userspace		# don't build userspace utilities
 
-%if %{without kernel}
-%undefine	with_dist_kernel
-%endif
-
 # no kernel kqemu module for ppc
 %ifarch ppc
 %undefine      with_kqemu
 %undefine      with_kernel
 %endif
 
+%if %{without kernel}
+%undefine	with_dist_kernel
+%endif
 %if "%{_alt_kernel}" != "%{nil}"
 %undefine	with_userspace
 %endif
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define		_enable_debug_packages	0
+%endif
+
+%define		rel	9
 
 %define		kqemu_version	1.3.0pre11
 %define		qemu_version	0.9.1
 %define		pname	qemu
-
-%define		rel	9
 Summary:	QEMU CPU Emulator
 Summary(pl.UTF-8):	QEMU - emulator procesora
 Name:		%{pname}%{_alt_kernel}
@@ -306,6 +309,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.111  2008-05-23 23:44:06  glen
+- disable debuginfo for kernel only build
+
 Revision 1.110  2008-05-23 23:18:14  glen
 - add -CVE-2008-0928.patch, -CVE-2008-2004.patch from gentoo; rel 9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qemu.spec?r1=1.110&r2=1.111&f=u



More information about the pld-cvs-commit mailing list