On Fri, Jun 03, 2011 at 01:09:00PM +0200, Agustin Martin wrote:
> Package: myspell-de-de-oldspell
> Version: 1:2-27
> Severity: normal
>
> Hi, Roland,
>
> Your package still uses an entry in maintainer scripts that calls the
> soon to disappear update-openoffice-dicts script in a way that will
> fail once it is removed.
>
> If you use dictionaries-common-dev debhelper snippets, please rebuild
> your package against at least dictionaries-common-dev 1.10.5 and adjust
> Build-Depends accordingly.
>
> Otherwise just remove that part from maintainer scripts.
Hi, Roland,
Please find attached a proposed patch for this (and for #566805, get rid of
ancient /usr/share/myspell stuff).
Proposed changelog entries are
* Build against a recent dictionaries-common-dev to no
longer install ancient openoffice snippets for myspell-de-de-oldspell
package (Closes: #629078).
* No longer create ancient /usr/share/myspell stuff (Closes: #566805).
myspell-de-de-oldspell is one of the last packages still showing this
problem. Please do not delay fixing too much, thanks in advance.
Regards,
--
Agustin
diff --git a/debian/control b/debian/control
index 7f44ba8..1dc647d 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: text
Priority: optional
Maintainer: Roland Rosenfeld <[email protected]>
Standards-Version: 3.8.3
-Build-Depends: ispell (>= 3.3.02), dictionaries-common-dev (>= 0.20.0), debhelper (>= 5), flex, aspell (>> 0.60.3.2-2)
+Build-Depends: ispell (>= 3.3.02), dictionaries-common-dev (>= 1.10.5), debhelper (>= 5), flex, aspell (>> 0.60.3.2-2)
Package: iogerman
Architecture: any
diff --git a/debian/myspell-de-de-oldspell.dirs b/debian/myspell-de-de-oldspell.dirs
index 862e3f7..64b8f86 100644
--- a/debian/myspell-de-de-oldspell.dirs
+++ b/debian/myspell-de-de-oldspell.dirs
@@ -1,3 +1 @@
usr/share/hunspell
-usr/share/myspell/dicts
-usr/share/myspell/infos/ooo
diff --git a/debian/rules b/debian/rules
index 22f2894..fd1e754 100755
--- a/debian/rules
+++ b/debian/rules
@@ -76,10 +76,6 @@ install: build
`pwd`/debian/myspell-de-de-oldspell/usr/share/hunspell/de_DE.dic
install -o root -g root -m644 myspell.aff \
`pwd`/debian/myspell-de-de-oldspell/usr/share/hunspell/de_DE.aff
- ln -s /usr/share/hunspell/de_DE.aff \
- debian/myspell-de-de-oldspell/usr/share/myspell/dicts/de_DE.aff
- ln -s /usr/share/hunspell/de_DE.dic \
- debian/myspell-de-de-oldspell/usr/share/myspell/dicts/de_DE.dic
# aspell (binary-indep):
$(MAKE) DESTDIR=$(ADIR) aspell-install