Bug 79243

Summary: usage of deprecated rpm commands in python distutils
Product: [Retired] Red Hat Linux Reporter: Joachim Metz <joachim.metz>
Component: python2Assignee: Mihai Ibanescu <mihai.ibanescu>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-08 14:32:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joachim Metz 2002-12-08 14:32:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
the file /usr/lib/python2.2/distutils/command/bdist_rpm.py still uses the 'rpm'
command (-ba, -bb, etc) to build RPMS. This should be rpmbuild in RedHat 8.0 (to
my knowledge).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Try to build numpy (http://sourceforge.net/projects/numpy). After unpacking:
python setup.py bdist_rpm --release="i386".

Actual Results:  1. It will fail attempting to run "rpm -ba ..."

Expected Results:  It should have run "rpmbuild -ba ..."

Additional info:

Changing 'rpm' to 'rpmbuild' in
/usr/lib/python2.2/distutils/command/bdist_rpm.py at line 284 solves the problem.

Comment 1 Mihai Ibanescu 2002-12-08 17:42:22 UTC

*** This bug has been marked as a duplicate of 75304 ***