Description of problem: After a kernel, several kernel-*-kabideps files remain in %{_tmppath}. Version-Release number of selected component (if applicable): 2.6.18-8.1.8.el5 Solution: Use a directory for the files and remove this in %clean. Affected spec file lines (the "mkdir" line is new): %define __find_provides %_sourcedir/find-provides %{_tmppath}/kabideps [...] mkdir -p %{_tmppath}/kabideps rm -f %{_tmppath}/kabideps/kernel-$KernelVer-kabideps %_sourcedir/kabitool -b . -d %{_tmppath}/kabideps/kernel-$KernelVer-kabideps -k $KernelVer -w $RPM_BUILD_ROOT/kabi_whitelist [...] %clean rm -rf $RPM_BUILD_ROOT rm -rf %{_tmppath}/kabideps
I'll take care of this one along with some other spec changes queued up for 5.2.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
This change was pulled in along with numerous other spec fixes and enhancements, and is in kernel 2.6.18-58.el5 and later.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0314.html