[issue17553] python setup.py bdist_rpm is broken

2013-03-26 Thread Sean Carolan
New submission from Sean Carolan: I'm attempting to build a Python 2.7.3 RPM but the build command from the documentation fails. My platform is RHEL 5.9, x86_64 http://docs.python.org/2/distutils/builtdist.html#creating-rpm-packages Steps to reproduce: 1. Download latest Python tarball

[issue17553] python setup.py bdist_rpm is broken

2013-03-27 Thread Sean Carolan
Sean Carolan added the comment: Éric Araujo, if that is the case then why does it build what looks like a *.spec file for Python itself? [scarolan@titania:~/Python-2.7.3]$ head -10 ./build/bdist.linux-x86_64/rpm/SPECS/Python.spec %define name Python %define version 2.7.3 %define

[issue17553] python setup.py bdist_rpm is broken

2013-03-27 Thread Sean Carolan
Sean Carolan added the comment: Ok, thanks for clearing that up. Maybe the documentation could be updated to explicitly state this to avoid confusion, eg: NOTE: You cannot use setup.py to build a Python RPM. It is only for building Python modules