Compileall does not compile single files (cherry picked from commit 6d952a15ab80480e147359f92c922fa3c5ab150b)
Signed-off-by: Hugo Trippaers <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/2bc30e8b Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/2bc30e8b Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/2bc30e8b Branch: refs/heads/4.1 Commit: 2bc30e8b1b3fb49fd6d27a599662adb6234fca7a Parents: 1ec1b3f Author: Hugo Trippaers <[email protected]> Authored: Fri Feb 8 08:16:14 2013 +0100 Committer: Hugo Trippaers <[email protected]> Committed: Mon Feb 11 17:45:42 2013 +0100 ---------------------------------------------------------------------- packaging/centos63/cloud.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/2bc30e8b/packaging/centos63/cloud.spec ---------------------------------------------------------------------- diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec index 826d2df..9ba05ec 100644 --- a/packaging/centos63/cloud.spec +++ b/packaging/centos63/cloud.spec @@ -184,7 +184,7 @@ install -D console-proxy/dist/systemvm.iso ${RPM_BUILD_ROOT}%{_datadir}/%{name}- install -D console-proxy/dist/systemvm.zip ${RPM_BUILD_ROOT}%{_datadir}/%{name}-common/vms/systemvm.zip install python/lib/cloud_utils.py ${RPM_BUILD_ROOT}%{_libdir}/python2.6/site-packages/cloud_utils.py cp -r python/lib/cloudutils ${RPM_BUILD_ROOT}%{_libdir}/python2.6/site-packages/ -python -m compileall ${RPM_BUILD_ROOT}%{_libdir}/python2.6/site-packages/cloud_utils.py +python -m py_compile ${RPM_BUILD_ROOT}%{_libdir}/python2.6/site-packages/cloud_utils.py python -m compileall ${RPM_BUILD_ROOT}%{_libdir}/python2.6/site-packages/cloudutils # Management
