This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bdist_rpm target breaks with rpm 4.1
Type: Stage:
Components: Distutils Versions: Python 2.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, malcolmt
Priority: normal Keywords:

Created on 2002-10-29 00:30 by malcolmt, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
build.diff malcolmt, 2002-10-29 00:30 Patch to fix build problem
Messages (2)
msg12985 - (view) Author: Malcolm Tredinnick (malcolmt) Date: 2002-10-29 00:30
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.
msg12986 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2002-11-04 13:20
Logged In: YES 
user_id=11375

Fixed in CVS by Sean Reifschneider; his patch is safer, using rpmbuild if present and falling back to rpm.  Thanks!
History
Date User Action Args
2022-04-10 16:05:47adminsetgithub: 37380
2002-10-29 00:30:55malcolmtcreate