use new macro for python_sitearch
This commit is contained in:
parent
62a1d05b1e
commit
45288d71bd
@ -1,4 +1,6 @@
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%endif
|
||||
# eval to 2.3 if python isn't yet present, workaround for no python in fc4 minimal buildroot
|
||||
%{!?python_version: %define python_version %(%{__python} -c 'import sys; print sys.version.split(" ")[0]' || echo "2.3")}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user