From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Fri, 21 Jan 2011 11:42:45 +0000 (+0100)
Subject: turn off debuginfo on f14 as well
X-Git-Tag: linux-2.6-32-10~4
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=5e26ad607101c501ce15796a7d2a813add476eb4;p=linux-2.6.git

turn off debuginfo on f14 as well
---

diff --git a/kernel-2.6.spec b/kernel-2.6.spec
index ccc5e2e69..9db6435b8 100644
--- a/kernel-2.6.spec
+++ b/kernel-2.6.spec
@@ -129,8 +129,12 @@ Summary: The Linux kernel
 %if "%{distro}" == "CentOS" && %{distrorelease} == 5
 %define with_debuginfo %{?_without_debuginfo: 1} %{?!_without_debuginfo: 0}
 %else
+%if "%{distroname}" == "f14"
+%define with_debuginfo %{?_without_debuginfo: 1} %{?!_without_debuginfo: 0}
+%else
 %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1}
 %endif
+%endif
 #### Planet-Lab ####
 # kernel-bootwrapper (for creating zImages from kernel + initrd)
 %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1}