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: Generate a working spec even with wrong version of software
Type: Stage:
Components: Distutils Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: loewis, misc_from_metz
Priority: normal Keywords: patch

Created on 2004-06-09 23:38 by misc_from_metz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python.patch misc_from_metz, 2004-06-09 23:38 Replace '-' by '_' when writing the Version and Release tags of the spec files
Messages (2)
msg46160 - (view) Author: Scherer Michael (misc_from_metz) Date: 2004-06-09 23:38
Some python packages use a '-' in their version.
This doesn't work with rpm, since a tag Version cannot have a '-', this is the default separator between the release and version. A common practice for this problem is to change '-' by '_'.
msg46161 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-08-25 13:05
Logged In: YES 
user_id=21627

Thanks for the patch. Applied as bdist_rpm.py 1.40, NEWS 1.1113.
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40374
2004-06-09 23:38:58misc_from_metzcreate