Joshua Roys wrote:
On 10/05/2009 12:07 PM, Miroslav Suchý wrote:a) why you put there?: +%if 0%{!?_initddir:1} +%define _initddir %{_sysconfdir}/rc.d/init.d +%endif Is some platform where _initddir is not defined?Yep - _initrddir is defined most places - but it was improperly named. Recent Fedora rpm macros have moved to _initddir, although they still have _initrddir.
_initrddir is alias to _initddir, so it seems to me that _initddir is still primary. I would rather do something about this only when Fedora in rawhide delete _initddir and make status quo till then.
But I will not persuade it.
For now I have left a) in - unless the incorrect-but-more-well-known _initrddir should be used. Or we could just leave it as %{_sysconfdir}/rc.d/init.d.
Commited as 0c93b6054f5aeb581e3eb2c1a6d93660648ef8f5
Thanks!
Thanks too. -- Miroslav Suchy Red Hat Satellite Engineering _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
