On Thursday 11 November 2004 23:32, Alan Milligan wrote:
| %pythonprefix - seems overkill; %{_prefix} will should cover well
Only if you want to place python in /usr/lib. Mostly you would wish
to do so, and you will almost certainly get bitten if you dont, but
if for some reason you want to locate python (or another version of
the same) elsewhere, this allows you to do it.
Where's %perlprefix, %rubyprefix, %cprefix? Toss it; no need.
| Can someone share with me when get_python_lib() !=
| get_python_lib(1)? Inquiring minds want to know. %pythondir,
| %pyexecdir,
| %python_sitearch, %python_sitelib, are pretty superfluous macros.
Actually they are not. These become critical to overriding makefile
parameters in quite a few cases, thereby mitigating the need to hack
third-party setup.py scripts, allowing you to use the vanilla
third-party tarball :)
Examples? Tarball and spec, please.
thanks,
--
-jeff