Bug 481132 - Typo in spec file
Summary: Typo in spec file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-22 10:33 UTC by Karsten Hopp
Modified: 2009-02-25 03:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-25 03:28:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.