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.