Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cae9e673
Commit
cae9e673
authored
Aug 25, 2004
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #970015: Replace - by _ in version and release.
parent
cf525241
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Lib/distutils/command/bdist_rpm.py
Lib/distutils/command/bdist_rpm.py
+2
-2
Misc/NEWS
Misc/NEWS
+2
-1
No files found.
Lib/distutils/command/bdist_rpm.py
View file @
cae9e673
...
...
@@ -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
(),
]
...
...
Misc/NEWS
View file @
cae9e673
...
...
@@ -57,7 +57,8 @@ Extension modules
Library
-------
-
bdist_rpm
now
includes
version
and
release
in
the
BuildRoot
.
-
bdist_rpm
now
includes
version
and
release
in
the
BuildRoot
,
and
replaces
-
by
``
_
``
in
version
and
release
.
-
distutils
build
/
build_scripts
now
has
an
-
e
option
to
specify
the
path
to
the
Python
interpreter
for
installed
scripts
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment