mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Patch #808115: Add script support to bdist_rpm.py.
This commit is contained in:
parent
1f7d6a633f
commit
641d64812c
2 changed files with 27 additions and 0 deletions
|
@ -95,6 +95,31 @@ class bdist_rpm (Command):
|
||||||
"RPM 3 compatibility mode (default)"),
|
"RPM 3 compatibility mode (default)"),
|
||||||
('rpm2-mode', None,
|
('rpm2-mode', None,
|
||||||
"RPM 2 compatibility mode"),
|
"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']
|
boolean_options = ['keep-temp', 'use-rpm-opt-flags', 'rpm3-mode']
|
||||||
|
|
|
@ -22,6 +22,8 @@ Extension modules
|
||||||
Library
|
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
|
- SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support
|
||||||
decoding incomplete input (when the input stream is temporarily exhausted).
|
decoding incomplete input (when the input stream is temporarily exhausted).
|
||||||
``codecs.StreamReader`` now implements buffering, which enables proper
|
``codecs.StreamReader`` now implements buffering, which enables proper
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue