The bug http://defect.opensolaris.org/bz/show_bug.cgi?id=13826
is because the build machine has now default to have python 2.6.
Since vir-manager is still a python 2.4 ap, the share lib sparkline.so
must also be compiled with python 2.4.

So the patch is to make sure that
PYTHON is defined to pick up the correction version 2,4 in this case.




$ svn diff SUNWvirt-manager.spec
Index: SUNWvirt-manager.spec
===================================================================
--- SUNWvirt-manager.spec    (revision 20450)
+++ SUNWvirt-manager.spec    (working copy)
@@ -61,6 +61,7 @@
 
 %build
 cd %{name}-%{version}
+export PYTHON=/usr/bin/python%{pythonver}
 %virtmanager.build


-Ghee

Reply via email to