mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch #970015: Replace - by _ in version and release.
This commit is contained in:
parent
cf525241bb
commit
cae9e673d6
2 changed files with 4 additions and 3 deletions
|
@ -332,8 +332,8 @@ class bdist_rpm (Command):
|
|||
# definitions and headers
|
||||
spec_file = [
|
||||
'%define name ' + self.distribution.get_name(),
|
||||
'%define version ' + self.distribution.get_version(),
|
||||
'%define release ' + self.release,
|
||||
'%define version ' + self.distribution.get_version().replace('-','_'),
|
||||
'%define release ' + self.release.replace('-','_'),
|
||||
'',
|
||||
'Summary: ' + self.distribution.get_description(),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue