summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2010-10-26 13:59:09 -0400
committerKyle McMartin <kyle@mcmartin.ca>2010-11-08 11:02:19 -0500
commitb0335bcfdfd3de7d59052aeac8f703fab1bb4e47 (patch)
tree16672adc09b7ac3fba8713de4b93ac1865163a08 /kernel.spec
parent246f94f0963a6a57eaf0fed394a2aec03c3cdd37 (diff)
downloadkernel-b0335bcfdfd3de7d59052aeac8f703fab1bb4e47.tar.gz
kernel-b0335bcfdfd3de7d59052aeac8f703fab1bb4e47.tar.xz
kernel-b0335bcfdfd3de7d59052aeac8f703fab1bb4e47.zip
remove build cruft that shouldn't be packaged in kernel-devel
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec
index 6e906f8f4..d2ee10bef 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1684,6 +1684,8 @@ find $RPM_BUILD_ROOT/usr/include \
\( -name .install -o -name .check -o \
-name ..install.cmd -o -name ..check.cmd \) | xargs rm -f
+find $RPM_BUILD_ROOT/usr/src/kernels -name .*.cmd -exec rm -f {} \;
+
# glibc provides scsi headers for itself, for now
rm -rf $RPM_BUILD_ROOT/usr/include/scsi
rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h