Hi Alexander, Please find attached the correct patch correcting both bugs 341613 and 610208. Be carefull that the previous one didn't work correctly. In my tests, I mistyped the files I tested that's why I found them removed...
To work correctly the rm_config needs to have the 3 files (preinst, postinst and postrm) which you'll find in the patch attached. This time I put off my mittens and it works better! Sorry for the big mistake. I just notice that you also packaged the 8.6.9 upstream version at the same time as me (cf. bug #685774). Perhaps you should have a look to my package which provides the removal of the configuration files that disappeared between 8.6.7 and 8.6.9 and the patching of the Makefil to get vim config installed again. There are also a Lintian warning correction in the package I provided. Don't hesitate to PM me if interested. Best regards, Joseph
diff -u asciidoc-8.6.7/debian/changelog asciidoc-8.6.7/debian/changelog --- asciidoc-8.6.7/debian/changelog +++ asciidoc-8.6.7/debian/changelog @@ -1,3 +1,11 @@ +asciidoc (8.6.7-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Removing configuration files from version 7 to version 8 (Closes: #341613) + * Removing other old configuration files (Closes: #610208) + + -- Joseph HERLANT <herla...@gmail.com> Sun, 10 Nov 2013 01:09:09 +0100 + asciidoc (8.6.7-1) unstable; urgency=low * [594ef01] Add homepage field (Closes: #661051) diff -u asciidoc-8.6.7/debian/control asciidoc-8.6.7/debian/control --- asciidoc-8.6.7/debian/control +++ asciidoc-8.6.7/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Fredrik Steen <st...@debian.org> Uploaders: Alexander Wirt <formo...@debian.org> -Build-Depends: debhelper (>= 7.0.50), dpatch +Build-Depends: dpkg (>= 1.15.7.2), debhelper (>= 7.0.50), dpatch Build-Depends-Indep: xmlto, python (>= 2.4) Standards-Version: 3.9.2 Vcs-Browser: http://git.debian.org/?p=pkg-asciidoc/pkg-asciidoc.git only in patch2: unchanged: --- asciidoc-8.6.7.orig/debian/postinst +++ asciidoc-8.6.7/debian/postinst @@ -0,0 +1,72 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +# Bug #3416613 +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css-embedded-stylesheet.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css-embedded.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook-sgml.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/html.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml.conf 8.6.7-1~ -- "$@" +#Bug #610208 +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/flask.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/asciidoc-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/volnitsky-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/flask-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/volnitsky.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml-deprecated.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/math.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook-xsl/shaded-literallayout.patch 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml-deprecated-css.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml-deprecated-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml-deprecated.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-test-c++.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/source-highlight-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter.py 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/source-highlight-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-readme.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music2png.py 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/linuxdoc.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/t.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml11-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml11.css 8.6.7-1~ -- "$@" + only in patch2: unchanged: --- asciidoc-8.6.7.orig/debian/preinst +++ asciidoc-8.6.7/debian/preinst @@ -0,0 +1,72 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +# Bug #3416613 +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css-embedded-stylesheet.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css-embedded.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook-sgml.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/html.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml.conf 8.6.7-1~ -- "$@" +#Bug #610208 +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/flask.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/asciidoc-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/volnitsky-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/flask-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/volnitsky.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml-deprecated.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/math.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook-xsl/shaded-literallayout.patch 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml-deprecated-css.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml-deprecated-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml-deprecated.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-test-c++.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/source-highlight-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter.py 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/source-highlight-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-readme.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music2png.py 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/linuxdoc.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/t.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml11-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml11.css 8.6.7-1~ -- "$@" + only in patch2: unchanged: --- asciidoc-8.6.7.orig/debian/postrm +++ asciidoc-8.6.7/debian/postrm @@ -0,0 +1,72 @@ +#!/bin/sh +set -e + +#DEBHELPER# + +# Bug #3416613 +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css-embedded-stylesheet.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css-embedded.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/css.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook-sgml.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/html.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml.conf 8.6.7-1~ -- "$@" +#Bug #610208 +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/flask.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/asciidoc-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/volnitsky-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/flask-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/volnitsky.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml-deprecated.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/math.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook-xsl/shaded-literallayout.patch 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/xhtml-deprecated-css.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml-deprecated-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml-deprecated.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-test-c++.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/source-highlight-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter.py 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/source-highlight-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music-filter.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music-filter-test.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/code-filter-readme.txt 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/filters/music2png.py 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/linuxdoc.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/t.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/docbook.conf 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml11-manpage.css 8.6.7-1~ -- "$@" +dpkg-maintscript-helper rm_conffile \ + /etc/asciidoc/stylesheets/xhtml11.css 8.6.7-1~ -- "$@" +