Eric Smith <e...@trueblade.com> added the comment:

"rpm -ba" is very old. I think it's been at least since 2002 that "-ba" was 
supported by rpm.

I believe bdist_rpm is calling "rpmbuild -ba", and if that doesn't exist, then 
"rpm -ba" is a transition strategy until all systems supported "rpmbuild". This 
transition period should be over. Unfortunately today it's far more likely that 
"rpm -ba" will not be what you want to call, but "rpm" will almost always be 
found, giving this error.

Most systems (certain RedHat based) ship rpmbuild as a separate command. RedHat 
installs it via the rpm-build package.

I'd suggest just switching bdist_rpm to always use rpmbuild. Then at least the 
error would be that rpmbuild isn't found.

----------
nosy: +eric.smith

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11122>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to