diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2002-11-06 18:44:26 (GMT) |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2002-11-06 18:44:26 (GMT) |
commit | fbceb01ef0cc7cf5386f0e2c2d75b1b09dd291f9 (patch) | |
tree | 3b574b19f1e7a0a7d47a1b83c8c1afcfb705be06 /Lib | |
parent | 4dbf192f2b7d267636244de70faf8c5d78790655 (diff) | |
download | cpython-fbceb01ef0cc7cf5386f0e2c2d75b1b09dd291f9.zip cpython-fbceb01ef0cc7cf5386f0e2c2d75b1b09dd291f9.tar.gz cpython-fbceb01ef0cc7cf5386f0e2c2d75b1b09dd291f9.tar.bz2 |
Fixed bug "[#466200] ability to specify a 'verify' script".
* Lib/distutils/command/bdist_rpm.py
(bdist_rpm.initialize_options): Included verify_script attribute.
(bdist_rpm.finalize_package_data): Ensure that verify_script is a filename.
(bdist_rpm._make_spec_file): Included verify_script in script_options
tuple.
* Misc/NEWS
Mention change.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/command/bdist_rpm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/distutils/command/bdist_rpm.py b/Lib/distutils/command/bdist_rpm.py index 597b26c..0dad1ac 100644 --- a/Lib/distutils/command/bdist_rpm.py +++ b/Lib/distutils/command/bdist_rpm.py @@ -129,6 +129,7 @@ class bdist_rpm (Command): self.build_script = None self.install_script = None self.clean_script = None + self.verify_script = None self.pre_install = None self.post_install = None self.pre_uninstall = None @@ -208,6 +209,7 @@ class bdist_rpm (Command): self.ensure_filename('build_script') self.ensure_filename('install_script') self.ensure_filename('clean_script') + self.ensure_filename('verify_script') self.ensure_filename('pre_install') self.ensure_filename('post_install') self.ensure_filename('pre_uninstall') @@ -424,6 +426,7 @@ class bdist_rpm (Command): "--root=$RPM_BUILD_ROOT " "--record=INSTALLED_FILES") % self.python), ('clean', 'clean_script', "rm -rf $RPM_BUILD_ROOT"), + ('verifyscript', 'verify_script', None), ('pre', 'pre_install', None), ('post', 'post_install', None), ('preun', 'pre_uninstall', None), |