From b895b297a610c30c2eb80c0433d8e5736a509d53 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 2 Jan 2012 20:09:58 +0000 Subject: [PATCH] Fixed #11184 -- Made it possible to build RPMs with a non-default python executable. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17331 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- scripts/rpm-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rpm-install.sh b/scripts/rpm-install.sh index f337a789b1..89cf4dd049 100644 --- a/scripts/rpm-install.sh +++ b/scripts/rpm-install.sh @@ -4,7 +4,7 @@ # # This is what dist.py normally does. -python setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES" +%{__python} setup.py install --root=${RPM_BUILD_ROOT} --record="INSTALLED_FILES" # Sort the filelist so that directories appear before files. This avoids # duplicate filename problems on some systems.