diff --git a/kernel.spec b/kernel.spec index 8ed80f06a..830edb803 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1736,6 +1736,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