On Thu, Nov 12, 2009 at 03:16:46PM +0100, Piotr Ozarowski wrote:
> [Kumar Appaiah, 2009-11-12]
> > diff -Nru --exclude changelog 
> > gst0.10-python-0.10.17/debian/python-gst0.10-dev.preinst 
> > gst0.10-python-0.10.17/debian/python-gst0.10-dev.preinst
> > --- gst0.10-python-0.10.17/debian/python-gst0.10-dev.preinst        
> > 1969-12-31 18:00:00.000000000 -0600
> > +++ gst0.10-python-0.10.17/debian/python-gst0.10-dev.preinst        
> > 2009-11-12 07:49:32.000000000 -0600
> 
> I think you meant python-gst0.10-dbg.preinst here (note the s/dev/dbg/)
> 
> > @@ -0,0 +1,8 @@
> > +#!/bin/sh
> > +# TODO: remove this file after releasing Squeeze
> > +set -e
> > +if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.10.17-2
> > +then
> > +    pycentral pkgremove python-gst0.10-dbg
> 
> or something's wrong with this line ;-P

Naturally. Apologies, and thanks for verifying this. Updated patch
attached.

Kumar
diff -Nru --exclude changelog gst0.10-python-0.10.17/debian/control gst0.10-python-0.10.17/debian/control
--- gst0.10-python-0.10.17/debian/control	2009-11-12 07:49:32.000000000 -0600
+++ gst0.10-python-0.10.17/debian/control	2009-11-12 07:49:32.000000000 -0600
@@ -17,7 +17,7 @@
                python-gobject-dbg,
                python-all-dev (>= 2.3.5-11),
                python-all-dbg,
-               python-central (>= 0.6.11),
+               python-support (>= 0.7.6),
                autotools-dev,
                quilt
 Standards-Version: 3.8.3
diff -Nru --exclude changelog gst0.10-python-0.10.17/debian/python-gst0.10-dbg.preinst gst0.10-python-0.10.17/debian/python-gst0.10-dbg.preinst
--- gst0.10-python-0.10.17/debian/python-gst0.10-dbg.preinst	1969-12-31 18:00:00.000000000 -0600
+++ gst0.10-python-0.10.17/debian/python-gst0.10-dbg.preinst	2009-11-12 07:49:32.000000000 -0600
@@ -0,0 +1,8 @@
+#!/bin/sh
+# TODO: remove this file after releasing Squeeze
+set -e
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.10.17-2
+then
+    pycentral pkgremove python-gst0.10-dbg
+fi
+#DEBHELPER#
diff -Nru --exclude changelog gst0.10-python-0.10.17/debian/rules gst0.10-python-0.10.17/debian/rules
--- gst0.10-python-0.10.17/debian/rules	2009-11-12 07:49:32.000000000 -0600
+++ gst0.10-python-0.10.17/debian/rules	2009-11-12 07:49:32.000000000 -0600
@@ -11,8 +11,6 @@
 PY_DEFAULT := $(shell pyversions --default)
 PY_VERSIONS = $(sort $(shell pyversions --requested) $(PY_DEFAULT))
 
-include /usr/share/pycentral-data/pycentral.mk
-
 PATCH_DIR := debian/patches
 
 configure_flags := --prefix=/usr
@@ -142,7 +140,7 @@
 	dh_strip -s -Npython-gst0.10-dbg --dbg-package=python-gst0.10-dbg
 	dh_compress -s -Xexample
 	dh_fixperms -s
-	DH_PYCENTRAL=include-links dh_pycentral -s
+	dh_pysupport -s
 	dh_installdeb -s
 	dh_shlibdeps -s
 	dh_gencontrol -s

Reply via email to