diff options
author | Andrew Morton <akpm@osdl.org> | 2004-02-18 04:58:20 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-18 04:58:20 -0800 |
commit | 4550fd734acd873360788e5e5f8265fb45f3aa84 (patch) | |
tree | ddff80b14ba92b0422bf0a6b013dba6386f8eb3d /scripts | |
parent | 542c3b0adde702e8773b43f5903f9e46105e532e (diff) | |
download | history-4550fd734acd873360788e5e5f8265fb45f3aa84.tar.gz |
[PATCH] Fix make rpm when using RH9 or Fedora..
From: Thomas Davis <tadavis@lbl.gov>
Doing a 'make rpm' will fail with the current RH9/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
The fix is this patch:
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mkspec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkspec b/scripts/mkspec index e1ecb505e2748..e64429666a896 100755 --- a/scripts/mkspec +++ b/scripts/mkspec @@ -37,6 +37,7 @@ echo "$EXTRAVERSION.tar.gz" | sed -e "s/-//g" 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" |