[flann/el5] Use correct python exec name
rmattes
rmattes at fedoraproject.org
Tue Dec 20 01:26:08 UTC 2011
commit b04b296beee181921a4093b2756a2eb452a314a2
Author: Rich Mattes <richmattes at gmail.com>
Date: Mon Dec 19 20:22:35 2011 -0500
Use correct python exec name
flann.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/flann.spec b/flann.spec
index 3efc172..f378898 100644
--- a/flann.spec
+++ b/flann.spec
@@ -1,5 +1,5 @@
%if 0%{?rhel} < 6 && ! 0%{?fedora}
-%{!?python_sitearch: %global python_sitearch %(/usr/bin/python26 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitearch: %global python_sitearch %(/usr/bin/python2.6 -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
Name: flann
@@ -92,7 +92,7 @@ pushd src/python
%if 0%{?rhel} >= 6 || ! 0%{?rhel}
python setup.py install --prefix=/usr --root=%{buildroot} --install-lib=%{python_sitearch}
%else
-python26 setup.py install --prefix=/usr --root=%{buildroot} --install-lib=%{python_sitearch}
+python2.6 setup.py install --prefix=/usr --root=%{buildroot} --install-lib=%{python_sitearch}
%endif
popd
# get rid of duplicate shared libraries
More information about the scm-commits
mailing list