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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 4fc52ea..d35cc0f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -355,7 +355,7 @@
- Fixed bug #470582: sre module would return a tuple (None, 'a', 'ab')
when applying the regular expression '^((a)c)?(ab)$' on 'ab'. It now
returns (None, None, 'ab'), as expected. Also fixed handling of
- lastindex/lastgroup match attributes in a similar cases. For example,
+ lastindex/lastgroup match attributes in similar cases. For example,
when running the expression r'(a)(b)?b' over 'ab', lastindex must be
1, not 2.
@@ -558,6 +558,10 @@
- New pdb command `pp' which is like `p' except that it pretty-prints
the value of its expression argument.
+- Now bdist_rpm distutils command understands a verify_script option in
+ the config file, including the contents of the referred filename in
+ the "%verifyscript" section of the rpm spec file.
+
Tools/Demos
-----------