[oe] [PATCH 65/70] rpm-native: add Python 2.6
Marcin Juszkiewicz
openembedded at haerwu.biz
Wed Mar 4 15:53:20 UTC 2009
From: Marcin Juszkiewicz <hrw at openembedded.org>
---
packages/rpm/rpm_4.4.2.3.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/packages/rpm/rpm_4.4.2.3.bb b/packages/rpm/rpm_4.4.2.3.bb
index 3083387..248a9f2 100644
--- a/packages/rpm/rpm_4.4.2.3.bb
+++ b/packages/rpm/rpm_4.4.2.3.bb
@@ -97,6 +97,7 @@ do_configure () {
def rpm_python_version(d):
import os, bb
staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )
+ if os.path.exists( "%s/python2.6" % staging_incdir ): return "2.6"
if os.path.exists( "%s/python2.5" % staging_incdir ): return "2.5"
if os.path.exists( "%s/python2.4" % staging_incdir ): return "2.4"
if os.path.exists( "%s/python2.3" % staging_incdir ): return "2.3"
--
1.6.1.3
More information about the Openembedded-devel
mailing list