From d2685880bdc26768d90f683c5b1ccd5c6c68d3bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Wed, 5 Jan 2011 12:15:25 -0500 Subject: [PATCH] disable debuginfo packages for centos --- kernel-2.6.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.43.0