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
641d6481
Commit
641d6481
authored
Sep 10, 2004
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #808115: Add script support to bdist_rpm.py.
parent
1f7d6a63
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
Lib/distutils/command/bdist_rpm.py
Lib/distutils/command/bdist_rpm.py
+25
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/distutils/command/bdist_rpm.py
View file @
641d6481
...
...
@@ -95,6 +95,31 @@ class bdist_rpm (Command):
"RPM 3 compatibility mode (default)"
),
(
'rpm2-mode'
,
None
,
"RPM 2 compatibility mode"
),
# Add the hooks necessary for specifying custom scripts
(
'prep-script='
,
None
,
"Specify a script for the PREP phase of RPM building"
),
(
'build-script='
,
None
,
"Specify a script for the BUILD phase of RPM building"
),
(
'pre-install='
,
None
,
"Specify a script for the pre-INSTALL phase of RPM building"
),
(
'install-script='
,
None
,
"Specify a script for the INSTALL phase of RPM building"
),
(
'post-install='
,
None
,
"Specify a script for the post-INSTALL phase of RPM building"
),
(
'pre-uninstall='
,
None
,
"Specify a script for the pre-UNINSTALL phase of RPM building"
),
(
'post-uninstall='
,
None
,
"Specify a script for the post-UNINSTALL phase of RPM building"
),
(
'clean-script='
,
None
,
"Specify a script for the CLEAN phase of RPM building"
),
(
'verify-script='
,
None
,
"Specify a script for the VERIFY phase of the RPM build"
),
]
boolean_options
=
[
'keep-temp'
,
'use-rpm-opt-flags'
,
'rpm3-mode'
]
...
...
Misc/NEWS
View file @
641d6481
...
...
@@ -22,6 +22,8 @@ Extension modules
Library
-------
- bdist_rpm now supports command line options {pre,post}-install,
{pre,post}-uninstall, and {prep,build,install,clean,verify}-script.
- SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support
decoding incomplete input (when the input stream is temporarily exhausted).
``codecs.StreamReader`` now implements buffering, which enables proper
...
...
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