Bug 273341 - Create a -debuginfo even if %{fancy_debuginfo} is 0
Create a -debuginfo even if %{fancy_debuginfo} is 0
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All All
medium Severity low
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
: EasyFix
Depends On:
  Show dependency treegraph
Reported: 2007-08-31 17:41 EDT by Robert Scheck
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-31 18:09:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2007-08-31 17:41:57 EDT
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):

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 @@
 %if !%{fancy_debuginfo}\
+%{expand:%%files %{?2:%{2}-}debuginfo}\
 %if "%{elf_image_install_path}" != ""\
Comment 1 Roland McGrath 2007-08-31 18:09:12 EDT
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.