[PATCH 1/5] Don't create debuginfo.list for main package

Mark McLoughlin markmc at redhat.com
Thu Mar 6 18:57:13 UTC 2008


The main package uses debugfiles.list rather than debuginfo.list,
so we should not be creating debuginfo.list.

Currently, this only works because debuginfo.list is empty.

Signed-off-by: Mark McLoughlin <markmc at redhat.com>
---
 kernel.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel.spec b/kernel.spec
index 7e4435a..279326e 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -720,7 +720,7 @@ AutoReqProv: no\
 %description -n %{name}%{?1:-%{1}}-debuginfo\
 This package provides debug information for package %{name}%{?1:-%{1}}.\
 This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
-%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:-?%{1}}(-%%{_target_cpu})?/.*|/.*%%{KVERREL}%{?1}(\.debug)?' -o debuginfo%{?1}.list}\
+%{?1:%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:-?%{1}}(-%%{_target_cpu})?/.*|/.*%%{KVERREL}%{?1}(\.debug)?' -o debuginfo%{?1}.list}}\
 %{nil}
 
 #
-- 
1.5.4.1




More information about the Fedora-kernel-list mailing list