[issue4459] bdist_rpm assumes python

2009-03-01 Thread John5342
John5342 added the comment: Thanks. i had noticed those options since i filed this report but considering the spec file is generated and then built immediately wouldn't it make more sense to effectively enable --fix-python by default (perhaps with a --no-fix-python option if people do in fact w

[issue4459] bdist_rpm assumes python

2009-02-28 Thread Akira Kitada
Akira Kitada added the comment: There are two options for that in bdist_rpm. --python path to Python interpreter to hard-code in the .spec file (default: "python") --fix-python hard-code the exact path to the current Python i

[issue4459] bdist_rpm assumes python

2008-11-29 Thread John5342
New submission from John5342 <[EMAIL PROTECTED]>: When using bdist_rpm the %build section of the generated spec file contains the following: env CFLAGS="$RPM_OPT_FLAGS" python setup.py build This works fine until the python is installed using altinstall. In this situation the spec file will use