This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author John5342
Recipients John5342
Date 2008-11-29.14:42:29
SpamBayes Score 0.0001783232
Marked as misclassified No
Message-id <1227969751.28.0.990351219395.issue4459@psf.upfronthosting.co.za>
In-reply-to
Content
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 the default python rather than the one
currently used.

I am currently using python3.0 with the default python being 2.5. As a
result the spec file is created which then calles python (2.5) and my
setup.py contains 3.0 code so the spec file fails.

When the above line is generated it should use the current interpreters
path and name rather than just "python"
History
Date User Action Args
2008-11-29 14:42:31John5342setrecipients: + John5342
2008-11-29 14:42:31John5342setmessageid: <1227969751.28.0.990351219395.issue4459@psf.upfronthosting.co.za>
2008-11-29 14:42:30John5342linkissue4459 messages
2008-11-29 14:42:29John5342create