check if we can get rpm to create a Requires: to /usr/bin/python
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 31 Jan 2013 04:29:17 +0000 (05:29 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 31 Jan 2013 04:29:17 +0000 (05:29 +0100)
instead of /bin/python that is problematic when creating the bootcd

plnode-utils-lxc.spec

index cfb13ec..58c91b1 100644 (file)
@@ -33,10 +33,10 @@ This python package provides utilities like bwlimit, used in various places on a
 # xxx fixme
 # this is where we chose which flavour of bwlimit gets shipped
 cp plnode/bwlimit_lxc.py plnode/bwlimit.py
-python setup.py build
+/usr/bin/python setup.py build
 
 %install
-python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
+/usr/bin/python setup.py install --skip-build --root "$RPM_BUILD_ROOT"
 
 %clean
 rm -rf $RPM_BUILD_ROOT