From a6ef7fb0a22d7f0a7ca20070fc4c453f3ed30887 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 31 Jan 2013 05:29:17 +0100 Subject: [PATCH] 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 --- plnode-utils-lxc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.43.0