[maemo-commits] [maemo-commits] r8872 - in projects/haf/trunk/python-dbus: . debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Dec 26 22:02:57 EET 2006
Author: osantana
Date: 2006-12-26 22:02:53 +0200 (Tue, 26 Dec 2006)
New Revision: 8872

Modified:
   projects/haf/trunk/python-dbus/debian/changelog
   projects/haf/trunk/python-dbus/setup.py
Log:
- applied the patch in https://bugs.freedesktop.org/show_bug.cgi?id=6943 to - create a workaround to the missing libfakeroot bug in build process

Modified: projects/haf/trunk/python-dbus/debian/changelog
===================================================================
--- projects/haf/trunk/python-dbus/debian/changelog	2006-12-26 19:00:24 UTC (rev 8871)
+++ projects/haf/trunk/python-dbus/debian/changelog	2006-12-26 20:02:53 UTC (rev 8872)
@@ -2,6 +2,7 @@
 
   * applied the patch in https://bugs.freedesktop.org/show_bug.cgi?id=6943 to
     remove the libxml2 dependency
+  * create a workaround to the missing libfakeroot bug in build process
 
  -- Osvaldo Santana Neto <osvaldo.santana at indt.org.br>  Tue, 26 Dec 2006 15:58:48 -0300
 

Modified: projects/haf/trunk/python-dbus/setup.py
===================================================================
--- projects/haf/trunk/python-dbus/setup.py	2006-12-26 19:00:24 UTC (rev 8871)
+++ projects/haf/trunk/python-dbus/setup.py	2006-12-26 20:02:53 UTC (rev 8872)
@@ -31,10 +31,7 @@
 
 def run(cmd):
     try:
-        p = Popen(' '.join(cmd), shell=True,
-                stdin=PIPE, stdout=PIPE, stderr=PIPE,
-                close_fds=True
-            )
+        p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True)
     except Exception, e:
         print >>sys.stderr, "ERROR: running %s (%s)" % (' '.join(cmd), e)
         raise SystemExit
@@ -47,12 +44,12 @@
     if isinstance(parms, list):
         cmd += parms
     else:
-        cmd.append(parms)
+        cmd += parms.split()
 
     if isinstance(names, list):
         cmd += names
     else:
-        cmd.append(names)
+        cmd += names.split()
 
     output, error = run(cmd)
 


More information about the maemo-commits mailing list