Package: myspell-sv-se
Version: 1.3.8-6-2.2
Severity: normal
Tags: patch

'update-openoffice-dicts' will soon be removed from dictionaries-common, 
but 'myspell-sv-se' maintainer scripts unconditionally call it.

'update-openoffice-dicts' only remaining task was to remove ancient
Openoffice.org 2.4 "dictionary.lst" file. For squeeze, it still updated
"dictionary.lst" in the extremely unlikely possibility that Ooo 2.4 is 
installed. That Ooo has now become more than ancient and its presence 
really unlikely. 

For that reason, 'update-openoffice-dicts' has been made a no-op and will
soon be removed.

Please remove unconditional call to 'update-openoffice-dicts' from
maintainer scripts, as proposed in attached patch.

Thanks in advance,

-- 
Agustin
diff -wu myspell-sv-1.3.8-6/debian/changelog myspell-sv-1.3.8-6/debian/changelog
--- myspell-sv-1.3.8-6/debian/changelog
+++ myspell-sv-1.3.8-6/debian/changelog
@@ -1,3 +1,12 @@
+myspell-sv (1.3.8-6-2.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * post{inst,rm}.in: Remove, only unconditionally called
+    useless and soon to not be shipped update-openoffice-dicts.
+    Change debian/rules for this.
+
+ -- Agustin Martin Domingo <agmar...@debian.org>  Tue, 22 Mar 2011 17:47:25 +0100
+
 myspell-sv (1.3.8-6-2.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -wu myspell-sv-1.3.8-6/debian/rules myspell-sv-1.3.8-6/debian/rules
--- myspell-sv-1.3.8-6/debian/rules
+++ myspell-sv-1.3.8-6/debian/rules
@@ -66,10 +66,6 @@
 binary-common:
 	dh_testdir
 	dh_testroot
-	for pkg in `dh_listpackages`; do \
-		cp debian/postrm.in debian/$$pkg.postrm; \
-		cp debian/postinst.in debian/$$pkg.postinst; \
-	done
 	dh_installchangelogs 
 	dh_installdocs
 	for pkg in `dh_listpackages`; do \
--- myspell-sv-1.3.8-6/debian/postinst.in
+++ myspell-sv-1.3.8-6.orig/debian/postinst.in
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
-	update-openoffice-dicts
-fi
-
-#DEBHELPER#
-
-exit 0
--- myspell-sv-1.3.8-6/debian/postrm.in
+++ myspell-sv-1.3.8-6.orig/debian/postrm.in
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "remove" ]; then
-	update-openoffice-dicts
-fi
-
-#DEBHELPER#
-
-exit 0

Reply via email to