build in /var/tmp as tmpfs mounted on vservers may not have enough space.
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 13 May 2009 10:56:06 +0000 (10:56 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 13 May 2009 10:56:06 +0000 (10:56 +0000)
Monitor.spec

index 4c5b01e..1843fe2 100644 (file)
@@ -208,10 +208,10 @@ rm -rf $RPM_BUILD_ROOT
 /%{_initrddir}/monitor-runlevelagent
 
 %post server-deps
-easy_install -UZ Elixir
-easy_install -UZ ElementTree
-easy_install -UZ http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.3.tar.gz
-easy_install -UZ http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg
+easy_install --build-directory /var/tmp -UZ Elixir
+easy_install --build-directory /var/tmp -UZ ElementTree
+easy_install --build-directory /var/tmp -UZ http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.3.tar.gz
+easy_install --build-directory /var/tmp -UZ http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg
 
 # NOTE: add the default xml stuff if it's not already in the default xml config.
 if ! grep '<category id="plc_monitor">' /etc/planetlab/default_config.xml ; then