SUNWgst-python.spec
branchgnome-2-24
changeset 14202 fc80c50f84e9
parent 14173 fe63d4719576
--- a/SUNWgst-python.spec	Tue Feb 17 15:27:02 2009 +0000
+++ b/SUNWgst-python.spec	Wed Feb 18 21:31:05 2009 +0000
@@ -1,7 +1,7 @@
 #
 # spec file for package SUNWgst-python
 #
-# 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.
 #
@@ -32,6 +32,8 @@
 %setup -q -n gst-python-%version
 
 %build
+export PYTHON=/usr/bin/python%{pythonver}
+export PKG_CONFIG_PATH=/usr/lib/python%{pythonver}/pkgconfig
 ./configure --prefix=%{_prefix}
 make
 
@@ -68,23 +70,20 @@
 %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
 * Thu Dec 11 2008 - [email protected]
 - Bump to 0.10.13.
-
 * Fri Sep 12 2008 - [email protected]
 - Update copyright
-
 * Wed Jul 16 2008 - [email protected]
 - Update %files for newly delivered library.
-
 * Thu Jun 19 2008 - [email protected]
 - Bump to 0.10.12.
-
 * Thu Mar 20 2008 - [email protected]
 - Bump to 0.10.11.
-
 * Tue Mar 18 2008 - [email protected]
 - Add Build/Requires for SUNWgnome-python-libs and SUNWgnome-media.
-
 * Tue Feb 12 2008 - [email protected]
 - initial version