Description of problem: a rebuild of autofs leaves an empty directory /var/tmp/autofs-5.0.4-4.src.rpm-root%{initrddir} This is caused by the line mkdir -p -m755 $RPM_BUILD_ROOT%{initrddir} in the spec file. The correct macro is %{_initrddir} Version-Release number of selected component (if applicable): autofs-5.0.4-4 Steps to Reproduce: 1. rebuild autofs 2. check /var/tmp directory Additional info: As this obviously isn't needed at all as the build would fail otherwise, the mkdir line can be removed.
Interesting, wonder why the build still works ok. Maybe because the "make install ..." later creates it, in fact that should be true all those directories, except maybe the sbin dir.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I would prefer to leave the mkdir in place and correct the macro. That's what I'll do.
I've made this change and the build seems to clean up after itself now. This change in included in revision 16 of the Rawhide autofs package.