rpm 4.5.90+ fixes the ages-old _initrddir misspelling, the canonical name of the macro is now _initddir. Even though the old form still works, only the newer should be defined so that both the old and the new stay in sync. Patch attached; perhaps guarding it with "Requires: rpm >= 4.5.90" in redhat-rpm-config wouldn't be a bad idea. On the other hand, I'm not sure if redefining this _initddir (or _initrddir) is necessary in redhat-rpm-config at all as inheriting it from rpm's defaults seems to work just fine, perhaps it could be just removed (no versioned rpm dependency would be needed in that case)? Ditto bunch of other *dir macros in /usr/lib/rpm/macros.
Created attachment 311730 [details] Define _initddir, not _initrddir
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Removed in current rawhide, rpm defaults to sane %_initddir (and %_initrddir for compatibility) for all versions that we care about, no reason to override it here.
Folks, did anyone consider plain %_initdir for clarity instead of all those typos?