rpms/kernel/F-8 kernel.spec,1.235,1.236

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Fri Oct 19 17:05:52 UTC 2007


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14055

Modified Files:
	kernel.spec 
Log Message:
Fix building without debuginfo.



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -r1.235 -r1.236
--- kernel.spec	18 Oct 2007 20:38:15 -0000	1.235
+++ kernel.spec	19 Oct 2007 17:05:16 -0000	1.236
@@ -1380,6 +1380,10 @@
     make -s mrproper
     cp configs/$Config .config
 
+    %if !%{with_debuginfo}
+    perl -p -i -e 's/^CONFIG_DEBUG_INFO=y$/# CONFIG_DEBUG_INFO is not set/' .config
+    %endif
+
     Arch=`head -1 .config | cut -b 3-`
     echo USING ARCH=$Arch
 




More information about the fedora-extras-commits mailing list