remove build cruft that shouldn't be packaged in kernel-devel

This commit is contained in:
Dave Jones 2010-10-26 13:59:09 -04:00 committed by Kyle McMartin
parent 246f94f096
commit b0335bcfdf

View File

@ -1684,6 +1684,8 @@ find $RPM_BUILD_ROOT/usr/include \
\( -name .install -o -name .check -o \ \( -name .install -o -name .check -o \
-name ..install.cmd -o -name ..check.cmd \) | xargs rm -f -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 # glibc provides scsi headers for itself, for now
rm -rf $RPM_BUILD_ROOT/usr/include/scsi rm -rf $RPM_BUILD_ROOT/usr/include/scsi
rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h rm -f $RPM_BUILD_ROOT/usr/include/asm*/atomic.h