[Python-bugs-list] [ python-Bugs-466200 ] ability to specify a 'verify' script

noreply@sourceforge.net noreply@sourceforge.net
Mon, 04 Nov 2002 05:58:14 -0800


Bugs item #466200, was opened at 2001-09-28 17:05
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=466200&group_id=5470

Category: Distutils
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Jon Nelson (jnelson)
>Assigned to: A.M. Kuchling (akuchling)
Summary: ability to specify a 'verify' script

Initial Comment:
The following patch adds the ability to specify a
'verify' script (as used by the %verify).

Treatment is exactly the same as with post_install,
etc...


--- bdist_rpm.py        Wed Sep 12 11:42:17 2001
+++ /home/agamemnon/jnelson/bdist_rpm.py        Fri Sep
28 16:09:18 2001
@@ -131,6 +131,7 @@
         self.post_install = None
         self.pre_uninstall = None
         self.post_uninstall = None
+        self.verifyscript = None
         self.prep = None
         self.provides = None
         self.requires = None
@@ -210,6 +211,7 @@
         self.ensure_filename('post_install')
         self.ensure_filename('pre_uninstall')
         self.ensure_filename('post_uninstall')
+        self.ensure_filename('verifyscript')
 
         # XXX don't forget we punted on summaries and
descriptions -- they
         # should be handled here eventually!
@@ -423,6 +425,7 @@
             ('post', 'post_install', None),
             ('preun', 'pre_uninstall', None),
             ('postun', 'post_uninstall', None),
+            ('verify', 'verifyscript', None),
         ]
 
         for (rpm_opt, attr, default) in
script_options:


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=466200&group_id=5470