From: S.Çağlar Onur Date: Wed, 5 Jan 2011 17:15:25 +0000 (-0500) Subject: disable debuginfo packages for centos X-Git-Tag: linux-2.6-32-6~2 X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=commitdiff_plain;h=d2685880bdc26768d90f683c5b1ccd5c6c68d3bb disable debuginfo packages for centos --- diff --git a/kernel-2.6.spec b/kernel-2.6.spec index 9736a3f95..fb4ba9c7a 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -124,8 +124,14 @@ Summary: The Linux kernel %define with_perftool %{?_without_perftool: 0} %{?!_without_perftool: 1} # perf noarch subpkg %define with_perf %{?_without_perf: 0} %{?!_without_perf: 1} +#### Planet-Lab #### # kernel-debuginfo +%if "%{distro}" == "CentOS" && %{distrorelease} == 5 +%define with_debuginfo %{?_without_debuginfo: 1} %{?!_without_debuginfo: 0} +%else %define with_debuginfo %{?_without_debuginfo: 0} %{?!_without_debuginfo: 1} +%endif +#### Planet-Lab #### # kernel-bootwrapper (for creating zImages from kernel + initrd) %define with_bootwrapper %{?_without_bootwrapper: 0} %{?!_without_bootwrapper: 1} # Want to build a the vsdo directories installed