Fixing build for python version != 2.5
authorSapan Bhatia <sapanb@cs.princeton.edu>
Thu, 21 May 2009 14:42:43 +0000 (14:42 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Thu, 21 May 2009 14:42:43 +0000 (14:42 +0000)
geniwrapper.spec

index d8481a0..f7e73a3 100644 (file)
@@ -54,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
 /usr/bin/gimport.py*
 /usr/bin/plc.py*
 /usr/bin/sfi.py*
-/usr/lib/python2.5/site-packages/geni
+%(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/geni
 /usr/share/keyconvert
 
 %post