- it was generate by make dep in kernel source package and this was stay there.
make clean didn't delete it, so rpm packaging it also to kernel-source.rpm.
make dep in /usr/src/linux are not regenate gentbl because this still there.
That why make dep got: permission denied, cannot execute gentbl.
rpm gave all files %defattr(644,root,root,755). gentbl must be 755.
- STBR
Changed files:
kernel.spec -> 1.323
Patch1501: %{name}-sparc-zs.h.patch
Patch1502: %{name}-sparc_netsyms.patch
Patch1503: %{name}-sym53c8xx.patch
-Patch1550: %{name}-gentbl.patch
ExclusiveOS: Linux
URL: http://www.kernel.org/
%endif
patch -s -p1 -d $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version} < %{PATCH1503}
-# fix gentbl cannot execute
-patch -s -p1 -d $RPM_BUILD_ROOT%{_prefix}/src/linux-%{version} < %{PATCH1550}
-
cd $RPM_BUILD_ROOT/usr/src/linux-%{version}
%{__make} mrproper
%{__make} clean
rm -f scripts/mkdep
+rm -rf drivers/char/hfmodem/gentbl
# add a rc-boot info
#install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/rc-boot/images