Author eric.smith
Recipients eric.araujo, eric.smith, purpleidea, tarek
Date 2011-02-04.22:45:24
SpamBayes Score 0.000132349
Marked as misclassified No
Message-id <1296859524.79.0.249969637359.issue11122@psf.upfronthosting.co.za>
In-reply-to
Content
"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.
History
Date User Action Args
2011-02-04 22:45:24eric.smithsetrecipients: + eric.smith, tarek, eric.araujo, purpleidea
2011-02-04 22:45:24eric.smithsetmessageid: <1296859524.79.0.249969637359.issue11122@psf.upfronthosting.co.za>
2011-02-04 22:45:24eric.smithlinkissue11122 messages
2011-02-04 22:45:24eric.smithcreate