[Python-bugs-list] [ python-Bugs-630195 ] bdist_rpm target breaks with rpm 4.1

noreply@sourceforge.net noreply@sourceforge.net
Mon, 28 Oct 2002 16:30:55 -0800


Bugs item #630195, was opened at 2002-10-29 08:30
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=630195&group_id=5470

Category: Distutils
Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Malcolm Tredinnick (malcolmt)
Assigned to: Nobody/Anonymous (nobody)
Summary: bdist_rpm target breaks with rpm 4.1

Initial Comment:
In order to make the bdist_rpm target in distutils work
with a broader range of rpm versions, it is necessary
to use the 'rpmbuild' command, rather than 'rpm' to
build rpms. 

Using 'rpm -ba ...' has been deprecated for a couple of
years and is no longer part of rpm 4.1 (which is
distributed by default with Red Hat 8.0 a.o.).

The attached patch fixes this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=630195&group_id=5470