From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809
Description of problem:
The RH8.0 release, the "-ba" and similar build options have been
moved out of the "rpm" command into the "rpmbuild" command only.
The distutils code for the "bdist_rpm" sub-command fails because
I have put up patch #619493 at sourceforge.net which fixes this
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download and unpack a Distutils-packaged Python module (for
2. Run "python setup.py bdist_rpm"
Actual Results: Fails to produce binary/source RPMs with the results:
rpm -ba --define _topdir /tmp/python-chap-1.13/build/bdist.linux-i686/rpm
-ba: unknown option
error: command 'rpm' failed with exit status 1
Expected Results: Should produce binary and/or source RPMs
Fixed in python 2.2.2, check out
*** Bug 79243 has been marked as a duplicate of this bug. ***
Red Hat Linux and Red Hat Powertools are currently no longer supported by Red
Hat, Inc. In an effort to clean up bugzilla, we are closing all bugs in MODIFIED
state for these products.
However, we do want to make sure that nothing important slips through the
cracks. If, in fact, these issues are not resolved in a current Fedora Core
Release (such as Fedora Core 5), please open a new issues stating so. Thanks.