summaryrefslogtreecommitdiff
path: root/scripts/rpm-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rpm-install.sh')
-rw-r--r--scripts/rpm-install.sh2
1 files changed, 1 insertions, 1 deletions
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.