SUNWgnome-python-extras.spec
branchgnome-2-24
changeset 14202 fc80c50f84e9
parent 14173 fe63d4719576
--- a/SUNWgnome-python-extras.spec	Tue Feb 17 15:27:02 2009 +0000
+++ b/SUNWgnome-python-extras.spec	Wed Feb 18 21:31:05 2009 +0000
@@ -1,7 +1,7 @@
 #
 # spec file for package SUNWgnome-python-extras
 #
-# Copyright 2008 Sun Microsystems, Inc.
+# Copyright 2009 Sun Microsystems, Inc.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
@@ -45,6 +45,8 @@
 %endif
 
 %build
+export PYTHON=/usr/bin/python%{pythonver}
+export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig
 autoconf
 ./configure --prefix=%{_prefix}
 make
@@ -78,6 +80,9 @@
 %dir %attr (0755, root, other) %{_datadir}/doc
 
 %changelog
+* Tue Feb 17 2009 - [email protected]
+- set PYTHON and PKG_CONFIG_PATH so the correct python version and
+  dependencies are picked up
 * Fri Sep 12 2008 - [email protected]
 - Update copyright
 * Fri May 30 2008 - [email protected]