From: Thierry Parmentelat Date: Thu, 31 Jan 2013 04:29:17 +0000 (+0100) Subject: check if we can get rpm to create a Requires: to /usr/bin/python X-Git-Tag: plnode-utils-0.2-2~5 X-Git-Url: http://git.onelab.eu/?p=plnode-utils.git;a=commitdiff_plain;h=a6ef7fb0a22d7f0a7ca20070fc4c453f3ed30887 check if we can get rpm to create a Requires: to /usr/bin/python instead of /bin/python that is problematic when creating the bootcd --- diff --git a/plnode-utils-lxc.spec b/plnode-utils-lxc.spec index cfb13ec..58c91b1 100644 --- a/plnode-utils-lxc.spec +++ b/plnode-utils-lxc.spec @@ -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