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
This commit is contained in:
Aymeric Augustin 2012-01-02 20:09:58 +00:00
parent ef5c873dba
commit b895b297a6
1 changed files with 1 additions and 1 deletions

View File

@ -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.