public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix make rpm in 2.6 when using RH9 or Fedora..
@ 2004-02-12 19:33 Thomas Davis
  2004-02-15  3:02 ` Bill Davidsen
  0 siblings, 1 reply; 6+ messages in thread
From: Thomas Davis @ 2004-02-12 19:33 UTC (permalink / raw)
  To: lkml

Doing a 'make rpm' with any linux-2.6 (or probably, even linux-2.4 kernel) will fail with the current RH/Fedora RPM macros.

The failure message is this:

Processing files: kernel-debuginfo-2.6.3rc1mm1-12
error: Could not open %files file /usr/src/redhat/BUILD/kernel-2.6.3rc1mm1/debugfiles.list: No such file or directory


RPM build errors:
    Could not open %files file /usr/src/redhat/BUILD/kernel-2.6.3rc1mm1/debugfiles.list: No such file or directory
make: *** [rpm] Error 1


The fix is this patch:

--- linux-2.6/scripts/mkspec    2004-01-08 22:59:04.000000000 -0800
+++ linux-2.6.3-rc1-mm1/scripts/mkspec  2004-02-12 00:02:55.000000000 -0800
@@ -37,6 +37,7 @@
 echo "BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root"
 echo "Provides: $PROVIDES"
 echo "%define __spec_install_post /usr/lib/rpm/brp-compress || :"
+echo "%define debug_package %{nil}"
 echo ""
 echo "%description"
 echo "The Linux Kernel, the operating system core itself"

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-18 14:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 19:33 [PATCH] Fix make rpm in 2.6 when using RH9 or Fedora Thomas Davis
2004-02-15  3:02 ` Bill Davidsen
2004-02-16  0:03   ` Thomas Davis
2004-02-16 21:01     ` Sam Ravnborg
2004-02-17  4:14       ` Thomas Davis
2004-02-18 14:31         ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox