Package: aspell-am Version: 0.03-1-4 Severity: normal Tags: patch Hi, Lior
Looking at some of the debsums messages complaining about modified shipped files, I came to this package. I was looking for simple peckages like this one creating a single aspell dict package that can be used as example, so tried with it. As I recently wrote in #638728, during some time we excluded stuff under /var/lib/{aspell,ispell} when creating md5sums, so debsums stayed quiet. dictionaries-common stuff now supports a different way to handle this, creating/updating compat during package preinst and removing compat and rws on package removal. This has the advantage that dictionary is no longer unavailable between unpack and configuration unless a (very rare) binary format change happens. I am attaching a proposed patch to use this system in aspell-am. It is possible to rely on installdeb-aspell to create the symlinks at build time, but this will happen only if there was nothing previously in the symlink location. Since am.rws is initially installed there (and later overwritten as a symlink from debian/rules) the symlink will not be automatically created if the dh_link line is removed unless installed $(DESTDIR)/usr/lib/aspell/am.rws is removed first, so I left this part as you had it. Regards, -- Agustin
>From 773128106ca54b5a8eed0b0bd70c27d999d2b522 Mon Sep 17 00:00:00 2001 From: Agustin Martin Domingo <agmar...@debian.org> Date: Fri, 28 Jun 2013 15:10:46 +0200 Subject: [PATCH] Enable Auto-Hash feature to no longer modify shipped files. --- debian/changelog | 7 +++++++ debian/control | 2 +- debian/info-aspell | 1 + debian/rules | 3 --- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 94a7226..c4f0b97 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +aspell-am (0.03-1-4.0.1) unstable; urgency=low + + * Bug fix proposal. + * Enable Auto-Hash feature to no longer modify shipped files. + + -- Agustin Martin Domingo <agmar...@debian.org> Fri, 28 Jun 2013 14:47:26 +0200 + aspell-am (0.03-1-4) unstable; urgency=low * The fix lintian warnings upload. diff --git a/debian/control b/debian/control index cf54d88..3e80639 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: text Priority: optional Maintainer: Lior Kaplan <kap...@debian.org> Build-Depends: debhelper (>= 5) -Build-Depends-Indep: dictionaries-common-dev, aspell +Build-Depends-Indep: dictionaries-common-dev (>= 1.11.2), aspell Standards-Version: 3.9.2 Homepage: ftp://ftp.gnu.org/gnu/aspell/dict/am/ diff --git a/debian/info-aspell b/debian/info-aspell index 290eccc..f11fdb0 100644 --- a/debian/info-aspell +++ b/debian/info-aspell @@ -5,5 +5,6 @@ Casechars: [á á á á á á áá á á á á á áá á á Not-Casechars: [^á á á á á á áá á á á á á áá á á á á á áá á á á á á áá ᡠᢠᣠᤠᥠá¦á¨ ᩠᪠᫠ᬠá á®á° á± á² á³ á´ áµ á¶á¸ ṠẠỠἠὠá¾á á á á á á áá ᡠᢠᣠᤠᥠá¦á° á± á² á³ á´ áµ á¶á¸ ṠẠỠἠὠá¾á á á á á á áá á á á á á áá á á á á á áá ᡠᢠᣠᤠᥠá¦á¨ ᩠᪠᫠ᬠá á®á¸ ṠẠỠἠὠá¾á á á á á á áá á á á á á áá á á á á á áá ᡠᢠᣠᤠᥠá¦á¨ ᩠᪠᫠ᬠá á®á° á± á² á³ á´ áµ á¶á á á á á á áá á á á á á áá ᡠᢠᣠᤠᥠá¦á¨ ᩠᪠᫠ᬠá á®á° á± á² á³ á´ áµ á¶á¸ ṠẠỠἠὠá¾á á á á á á áá á á á á á áá á á á á á á] Otherchars: [-'] Many-Otherchars: no +Auto-Compat: am Ispell-Args: Aspell-Locales: am, am_ET diff --git a/debian/rules b/debian/rules index 4977434..98ea42d 100755 --- a/debian/rules +++ b/debian/rules @@ -49,10 +49,7 @@ install: build # Add here commands to install the package into debian/aspell-am-0.03. $(MAKE) DESTDIR=$(DEB_DESTDIR) install gzip -9 -c am.cwl > $(DEB_DESTDIR)/usr/share/aspell/am.cwl.gz - touch $(DEB_DESTDIR)/var/lib/aspell/am.rws dh_link var/lib/aspell/am.rws usr/lib/aspell/am.rws - echo am >> $(DEB_DESTDIR)/usr/share/aspell/am.contents - touch $(DEB_DESTDIR)/var/lib/aspell/am.compat installdeb-aspell -- 1.7.10.4