5e852d7
diff -ru Python-2.6-orig/Lib/distutils/command/bdist_rpm.py Python-2.6/Lib/distutils/command/bdist_rpm.py
5e852d7
--- Python-2.6-orig/Lib/distutils/command/bdist_rpm.py	2008-02-23 12:40:11.000000000 -0500
5e852d7
+++ Python-2.6/Lib/distutils/command/bdist_rpm.py	2009-01-06 15:02:18.000000000 -0500
5e852d7
@@ -493,6 +493,7 @@
5e852d7
             ('build', 'build_script', def_build),
5e852d7
             ('install', 'install_script',
5e852d7
              ("%s install "
5e852d7
+              "-O1 "
5e852d7
               "--root=$RPM_BUILD_ROOT "
5e852d7
               "--record=INSTALLED_FILES") % def_setup_call),
5e852d7
             ('clean', 'clean_script', "rm -rf $RPM_BUILD_ROOT"),
5e852d7
Only in Python-2.6/Lib/distutils/command: bdist_rpm.py~