Bug 481132

Summary: Typo in spec file
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ikent, jmoyer
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-25 03:28:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karsten Hopp 2009-01-22 10:33:29 UTC
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.

Comment 1 Ian Kent 2009-01-22 11:08:20 UTC
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.

Comment 2 Fedora Admin XMLRPC Client 2009-02-24 16:15:37 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Ian Kent 2009-02-25 02:28:44 UTC
I would prefer to leave the mkdir in place and correct the
macro. That's what I'll do.

Comment 4 Ian Kent 2009-02-25 03:28:04 UTC
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.