python_version is no longer needed

This commit is contained in:
Thomas Spura 2010-10-26 12:53:28 +02:00
parent 45288d71bd
commit 5cf0544fad

View File

@ -1,8 +1,6 @@
%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")}
Name: numpy
Version: 1.4.1