From 5e0e53690662c704955ea41787e758703e4d08f7 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Fri, 30 Jan 2009 16:19:03 +0100 Subject: [PATCH] [FIX] generate the pyc for redhat lp bug: https://launchpad.net/bugs/311981 fixed bzr revid: stephane@tinyerp.com-20090130151903-nggkdf0iord5o0g3 --- rpminstall_sh.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rpminstall_sh.txt b/rpminstall_sh.txt index 5694f250b5d..bb7bb3fc10c 100644 --- a/rpminstall_sh.txt +++ b/rpminstall_sh.txt @@ -7,6 +7,7 @@ # Need to overwrite the install-part of the RPM to append the # compression-suffix onto the filenames for the man-pages. # +python -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)" python -O -c "import compileall, os; compileall.compile_dir(os.path.join(os.environ['PWD'], 'doc'), force=True)" python setup.py install --optimize 1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES