[Python-checkins] python/dist/src/Lib/distutils/command
bdist_rpm.py, 1.40, 1.41
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Fri Sep 10 08:25:15 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19004/Lib/distutils/command
Modified Files:
bdist_rpm.py
Log Message:
Patch #808115: Add script support to bdist_rpm.py.
Index: bdist_rpm.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_rpm.py,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- bdist_rpm.py 25 Aug 2004 13:04:52 -0000 1.40
+++ bdist_rpm.py 10 Sep 2004 06:25:01 -0000 1.41
@@ -95,6 +95,31 @@
"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']
More information about the Python-checkins
mailing list