Bug 273341 - Create a -debuginfo even if %{fancy_debuginfo} is 0
Summary: Create a -debuginfo even if %{fancy_debuginfo} is 0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-31 21:41 UTC by Robert Scheck
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-08-31 22:09:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2007-08-31 21:41:57 UTC
Description of problem:
Somebody unfortunately forgot, that a -debuginfo kernel package also should 
created, if %{fancy_debuginfo} is just 0.

Version-Release number of selected component (if applicable):
kernel-2.6.23-0.115.rc3.git1

How reproducible:
Everytime for me, if you unset %{fancy_debuginfo} or just try to define fc7 
which causes the same.

Actual results:
kernel-devel package is blown up to ~ 250 MB, because the content of the
non-existing -debuginfo package is simply added to -devel package.

Expected results:
Please apply the following patch (or better):

--- kernel.spec       2007-08-31 22:02:04.000000000 +0200
+++ kernel.spec.rsc   2007-08-31 22:19:05.000000000 +0200
@@ -1734,6 +1735,7 @@
 %endif\
 %defattr(-,root,root)\
 %if !%{fancy_debuginfo}\
+%{expand:%%files %{?2:%{2}-}debuginfo}\
 %if "%{elf_image_install_path}" != ""\
 %{debuginfodir}/%{elf_image_install_path}/*-%{KVERREL}%{?2}.debug\
 %endif\

Comment 1 Roland McGrath 2007-08-31 22:09:12 UTC
Oops.  Like I said at the time, I never actually tested using the new
kernel.spec on %fedora < 8.  I've committed the fix (not quite the patch above,
but close).


Note You need to log in before you can comment on or make changes to this bug.