Messages in this thread |  | | | Date | Sat, 14 Feb 2004 22:02:41 -0500 | | From | Bill Davidsen <> | | Subject | Re: [PATCH] Fix make rpm in 2.6 when using RH9 or Fedora.. |
| |
Thomas Davis wrote: > 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"
Why do you want to disable the missing file check? As opposed to providing the file?
I personally fix ther problem instead of disabling the check, the list can be empty, of course.
-- bill davidsen <davidsen@tmr.com> CTO TMR Associates, Inc Doing interesting things with small computers since 1979 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |