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.

Title: [Distutils][PATCH] Add bdist_rpm option to select the name of the resulting package
Type: enhancement Stage:
Components: Distutils Versions: Python 2.7
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: tarek Nosy List: OG7, tarek, terry.reedy
Priority: normal Keywords: patch

Created on 2009-07-22 14:06 by OG7, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
0001-Add-bdist_rpm-option-to-select-the-name-of-the-resul.patch OG7, 2009-07-22 14:06 patch
Messages (4)
msg90814 - (view) Author: OG7 (OG7) Date: 2009-07-22 14:06
This simple Distutils patch allows choosing the name of the rpm built by
It leaves the name of the source tarball alone, and changes the name of
the resulting spec file and rpm.

It was tested with distutils nightlies, and applies to at least python
2.5 through 2.7dev .
msg92350 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-09-07 07:55
Can you explain the reason why you need to change the distribution name,
and not use the name+version metadata to do it ?

msg92376 - (view) Author: OG7 (OG7) Date: 2009-09-07 16:44
In most cases, a distribution named "foo" becomes and rpm named
"python-foo", so it can't be the same name for both.

I'm using bdist_rpm to generate rpms from eggs I didn't write myself, so
an option to give external control works best.
msg108763 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-06-27 00:21
see msg108752
Date User Action Args
2022-04-11 14:56:51adminsetgithub: 50795
2010-06-27 00:21:34terry.reedysetstatus: open -> closed

nosy: + terry.reedy
messages: + msg108763

resolution: wont fix
2009-09-07 16:44:15OG7setmessages: + msg92376
2009-09-07 07:55:49tareksetmessages: + msg92350
2009-07-22 14:06:54OG7create