[Python-apps-commits] r603 - in packages/scribes/trunk/debian (changelog rules)

pochu-guest at users.alioth.debian.org pochu-guest at users.alioth.debian.org
Wed Feb 6 00:05:10 UTC 2008


    Date: Wednesday, February 6, 2008 @ 00:05:09
  Author: pochu-guest
Revision: 603

* debian/rules:
  - Change path in SaveProcessMonitor to /usr/bin/python2.5 if the
    default python interpreter is lower than python2.5. Closes: #462790.

Modified:
  packages/scribes/trunk/debian/changelog
  packages/scribes/trunk/debian/rules

Modified: packages/scribes/trunk/debian/changelog
===================================================================
--- packages/scribes/trunk/debian/changelog	2008-02-05 23:04:09 UTC (rev 602)
+++ packages/scribes/trunk/debian/changelog	2008-02-06 00:05:09 UTC (rev 603)
@@ -1,3 +1,11 @@
+scribes (0.3.3.3-3) unstable; urgency=low
+
+  * debian/rules:
+    - Change path in SaveProcessMonitor to /usr/bin/python2.5 if the
+      default python interpreter is lower than python2.5. Closes: #462790.
+
+ -- Emilio Pozuelo Monfort <pochu at ubuntu.com>  Tue, 05 Feb 2008 23:33:10 +0100
+
 scribes (0.3.3.3-2) unstable; urgency=low
 
   * debian/control:

Modified: packages/scribes/trunk/debian/rules
===================================================================
--- packages/scribes/trunk/debian/rules	2008-02-05 23:04:09 UTC (rev 602)
+++ packages/scribes/trunk/debian/rules	2008-02-06 00:05:09 UTC (rev 603)
@@ -52,9 +52,10 @@
 	# Add here commands to install the package into debian/scribes.
 	$(MAKE) DESTDIR=$(CURDIR)/debian/scribes install
 
-	# Since python2.4 is the default ATM, we need to hardcode the hashbang
+	# Since python2.4 is the default ATM, we need to hardcore the hashbang
 ifeq (old,$(shell dpkg --compare-versions "`pyversions -vd`" lt '2.5' && echo old)) 
 	sed -i -e '1s/env python/python2.5/g' $(CURDIR)/debian/scribes/usr/bin/scribes
+	sed -i -e 's/\/python/\/python2.5/g' $(CURDIR)/debian/scribes/usr/lib/python2.5/site-packages/SCRIBES/SaveProcessMonitor.py
 endif
 
 # Build architecture-independent files here.




More information about the Python-apps-commits mailing list