[numpy] python_version is no longer needed

tomspur tomspur at fedoraproject.org
Tue Oct 26 21:51:03 UTC 2010


commit 5cf0544fad3c62645dcbf01bee748e8957c1a3d1
Author: Thomas Spura <tomspur at fedoraproject.org>
Date:   Tue Oct 26 12:53:28 2010 +0200

    python_version is no longer needed

 numpy.spec |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/numpy.spec b/numpy.spec
index 5605617..6cd139a 100644
--- a/numpy.spec
+++ b/numpy.spec
@@ -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


More information about the scm-commits mailing list