Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Dear release team,

Please unblock mlterm 3.1.2-1.3. It fixes a piuparts upgrade test failure (bugs
#688603, #688604, #688605, #688606, #694153).

The previous fix (in -1.2) creates new problems (hence bug #694153). It seems
something (dpkg?) gets confused and follows the symlink when removing the
files from the old package on upgrade. This removes files from the -common
package (see the piuparts log attached to bug #694153).

My fix just copies the relevant part from the postinst of mlterm and
mlterm-tiny for the other packages. With this change (and a revert of the
changes in -1.2), the piuparts upgrade test works fine. The attached debdiff is
against version -1.1, which is currently in wheezy.

unblock mlterm/3.1.2-1.3


Thanks for all your work on the release!

Ivo


diff -Nru mlterm-3.1.2/debian/changelog mlterm-3.1.2/debian/changelog
--- mlterm-3.1.2/debian/changelog       2012-09-08 16:18:20.000000000 +0200
+++ mlterm-3.1.2/debian/changelog       2012-12-12 00:34:48.000000000 +0100
@@ -1,3 +1,19 @@
+mlterm (3.1.2-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Don't delete docs in preinst. Create correct symlinks in postinst.
+    (closes: #688603, #688604, #688605, #688606, 694153).
+
+ -- Ivo De Decker <ivo.dedec...@ugent.be>  Wed, 12 Dec 2012 00:34:33 +0100
+
+mlterm (3.1.2-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove previous documentation directories prior to package installation
+    (closes: #688603, #688604, #688605, #688606).
+
+ -- Michael Gilbert <mgilb...@debian.org>  Sun, 18 Nov 2012 07:18:33 +0000
+
 mlterm (3.1.2-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru mlterm-3.1.2/debian/mlterm-im-ibus.postinst 
mlterm-3.1.2/debian/mlterm-im-ibus.postinst
--- mlterm-3.1.2/debian/mlterm-im-ibus.postinst 1970-01-01 01:00:00.000000000 
+0100
+++ mlterm-3.1.2/debian/mlterm-im-ibus.postinst 2012-12-12 00:12:38.000000000 
+0100
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    # Replace documentation directory with symlink
+    docdir="/usr/share/doc/mlterm-im-ibus"
+    if [ -d $docdir -a ! -L $docdir ]; then
+        if rmdir $docdir 2>/dev/null; then
+            ln -sf /usr/share/doc/mlterm-common $docdir
+        fi
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst 
mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst
--- mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst      1970-01-01 
01:00:00.000000000 +0100
+++ mlterm-3.1.2/debian/mlterm-im-m17nlib.postinst      2012-12-12 
00:12:38.000000000 +0100
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    # Replace documentation directory with symlink
+    docdir="/usr/share/doc/mlterm-im-m17nlib"
+    if [ -d $docdir -a ! -L $docdir ]; then
+        if rmdir $docdir 2>/dev/null; then
+            ln -sf /usr/share/doc/mlterm-common $docdir
+        fi
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru mlterm-3.1.2/debian/mlterm-im-scim.postinst 
mlterm-3.1.2/debian/mlterm-im-scim.postinst
--- mlterm-3.1.2/debian/mlterm-im-scim.postinst 1970-01-01 01:00:00.000000000 
+0100
+++ mlterm-3.1.2/debian/mlterm-im-scim.postinst 2012-12-12 00:12:38.000000000 
+0100
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    # Replace documentation directory with symlink
+    docdir="/usr/share/doc/mlterm-im-scim"
+    if [ -d $docdir -a ! -L $docdir ]; then
+        if rmdir $docdir 2>/dev/null; then
+            ln -sf /usr/share/doc/mlterm-common $docdir
+        fi
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru mlterm-3.1.2/debian/mlterm-im-uim.postinst 
mlterm-3.1.2/debian/mlterm-im-uim.postinst
--- mlterm-3.1.2/debian/mlterm-im-uim.postinst  1970-01-01 01:00:00.000000000 
+0100
+++ mlterm-3.1.2/debian/mlterm-im-uim.postinst  2012-12-12 00:12:38.000000000 
+0100
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    # Replace documentation directory with symlink
+    docdir="/usr/share/doc/mlterm-im-uim"
+    if [ -d $docdir -a ! -L $docdir ]; then
+        if rmdir $docdir 2>/dev/null; then
+            ln -sf /usr/share/doc/mlterm-common $docdir
+        fi
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+
diff -Nru mlterm-3.1.2/debian/mlterm-tools.postinst 
mlterm-3.1.2/debian/mlterm-tools.postinst
--- mlterm-3.1.2/debian/mlterm-tools.postinst   1970-01-01 01:00:00.000000000 
+0100
+++ mlterm-3.1.2/debian/mlterm-tools.postinst   2012-12-12 00:12:38.000000000 
+0100
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+    # Replace documentation directory with symlink
+    docdir="/usr/share/doc/mlterm-tools"
+    if [ -d $docdir -a ! -L $docdir ]; then
+        if rmdir $docdir 2>/dev/null; then
+            ln -sf /usr/share/doc/mlterm-common $docdir
+        fi
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+

Reply via email to