Your message dated Sun, 19 Feb 2012 17:02:30 +0000
with message-id <[email protected]>
and subject line Bug#659901: fixed in exo 0.6.2-4
has caused the Debian Bug report #659901,
regarding libexo-common: use dh_installdeb maintscript support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
659901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659901
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libexo-common
Version: 0.6.2-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch precise

Using 'dpkg-maintscript-helper supports rm_conffile' guards introduces
unreliability into upgrades; it means that the conffile is removed or
not depending on whether dpkg happens to be unpacked before
libexo-common.  This seems generally undesirable; it would be better to
enforce a single code path.  (This is academic for Debian because the
version of dpkg in squeeze supported dpkg-maintscript-helper, hence
Severity: wishlist; Ubuntu's last LTS release didn't have a sufficient
version of dpkg for that which is why I care.)

It would be nice to just use dh_installdeb's support for generating
dpkg-maintscript-helper commands, which was introduced in debhelper
8.1.0.  This would remove duplicate code from your maintainer scripts -
in fact, you could remove your handwritten postinst and postrm scripts
entirely.  Here's a patch:

  * Use maintscript support in dh_installdeb rather than writing out
    dpkg-maintscript-helper commands by hand.  We now simply Pre-Depend on a
    new enough version of dpkg rather than using 'dpkg-maintscript-helper
    supports' guards, leading to more predictable behaviour on upgrades.

diff -Nru exo-0.6.2/debian/control exo-0.6.2/debian/control
--- exo-0.6.2/debian/control    2011-10-16 20:45:05.000000000 +0100
+++ exo-0.6.2/debian/control    2012-02-14 17:16:59.000000000 +0000
@@ -84,6 +84,7 @@
 Section: libs
 Architecture: all
 Multi-Arch: foreign
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Replaces: libexo-0.3-0 (<< 0.3.104-3)
 Description: libexo common files
diff -Nru exo-0.6.2/debian/libexo-common.maintscript 
exo-0.6.2/debian/libexo-common.maintscript
--- exo-0.6.2/debian/libexo-common.maintscript  1970-01-01 01:00:00.000000000 
+0100
+++ exo-0.6.2/debian/libexo-common.maintscript  2012-02-14 17:15:53.000000000 
+0000
@@ -0,0 +1 @@
+rm_conffile /etc/xdg/xfce4/mount.rc 0.5.2-1
diff -Nru exo-0.6.2/debian/libexo-common.postinst 
exo-0.6.2/debian/libexo-common.postinst
--- exo-0.6.2/debian/libexo-common.postinst     2011-03-30 17:08:38.000000000 
+0100
+++ exo-0.6.2/debian/libexo-common.postinst     1970-01-01 01:00:00.000000000 
+0100
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-LASTVER="0.5.2-1" 
-
-if dpkg-maintscript-helper supports rm_conffile; then
-  dpkg-maintscript-helper rm_conffile \
-    /etc/xdg/xfce4/mount.rc "$LASTVER" -- "$@"
-fi
-
-#DEBHELPER#
diff -Nru exo-0.6.2/debian/libexo-common.postrm 
exo-0.6.2/debian/libexo-common.postrm
--- exo-0.6.2/debian/libexo-common.postrm       2011-03-30 17:08:38.000000000 
+0100
+++ exo-0.6.2/debian/libexo-common.postrm       1970-01-01 01:00:00.000000000 
+0100
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-LASTVER="0.5.2-1" 
-
-if dpkg-maintscript-helper supports rm_conffile; then
-  dpkg-maintscript-helper rm_conffile \
-    /etc/xdg/xfce4/mount.rc "$LASTVER" -- "$@"
-fi
-
-#DEBHELPER#
diff -Nru exo-0.6.2/debian/libexo-common.preinst 
exo-0.6.2/debian/libexo-common.preinst
--- exo-0.6.2/debian/libexo-common.preinst      2011-05-13 13:35:06.000000000 
+0100
+++ exo-0.6.2/debian/libexo-common.preinst      2012-02-14 17:16:06.000000000 
+0000
@@ -2,13 +2,6 @@
 
 set -e
 
-LASTVER="0.5.2-1" 
-
-if dpkg-maintscript-helper supports rm_conffile; then
-  dpkg-maintscript-helper rm_conffile \
-    /etc/xdg/xfce4/mount.rc "$LASTVER" -- "$@"
-fi
-
 # Remove symlinks for el and sv which appeared in 0.6.1-1
 case "$1" in
 install|upgrade)

Thanks,

-- 
Colin Watson                                       [[email protected]]



--- End Message ---
--- Begin Message ---
Source: exo
Source-Version: 0.6.2-4

We believe that the bug you reported is fixed in the latest version of
exo, which is due to be installed in the Debian FTP archive:

exo-utils-dbg_0.6.2-4_amd64.deb
  to main/e/exo/exo-utils-dbg_0.6.2-4_amd64.deb
exo-utils_0.6.2-4_amd64.deb
  to main/e/exo/exo-utils_0.6.2-4_amd64.deb
exo_0.6.2-4.debian.tar.gz
  to main/e/exo/exo_0.6.2-4.debian.tar.gz
exo_0.6.2-4.dsc
  to main/e/exo/exo_0.6.2-4.dsc
libexo-1-0-dbg_0.6.2-4_amd64.deb
  to main/e/exo/libexo-1-0-dbg_0.6.2-4_amd64.deb
libexo-1-0_0.6.2-4_amd64.deb
  to main/e/exo/libexo-1-0_0.6.2-4_amd64.deb
libexo-1-dev_0.6.2-4_amd64.deb
  to main/e/exo/libexo-1-dev_0.6.2-4_amd64.deb
libexo-common_0.6.2-4_all.deb
  to main/e/exo/libexo-common_0.6.2-4_all.deb
libexo-helpers_0.6.2-4_amd64.deb
  to main/e/exo/libexo-helpers_0.6.2-4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lionel Le Folgoc <[email protected]> (supplier of updated exo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 19 Feb 2012 17:34:08 +0100
Source: exo
Binary: libexo-1-dev libexo-1-0 exo-utils libexo-1-0-dbg exo-utils-dbg 
libexo-common libexo-helpers
Architecture: source amd64 all
Version: 0.6.2-4
Distribution: unstable
Urgency: low
Maintainer: Debian Xfce Maintainers <[email protected]>
Changed-By: Lionel Le Folgoc <[email protected]>
Description: 
 exo-utils  - Utility files for libexo
 exo-utils-dbg - debugging informations for exo-utils
 libexo-1-0 - Library with extensions for Xfce
 libexo-1-0-dbg - debugging informations for libexo
 libexo-1-dev - Development files for libexo
 libexo-common - libexo common files
 libexo-helpers - libexo helpers
Closes: 659901
Changes: 
 exo (0.6.2-4) unstable; urgency=low
 .
   [ Lionel Le Folgoc ]
   * Use maintscript support in dh_installdeb rather than writing out
     dpkg-maintscript-helper commands by hand.  We now simply Pre-Depend on a
     new enough version of dpkg rather than using 'dpkg-maintscript-helper
     supports' guards, leading to more predictable behaviour on upgrades.
     Thanks Colin Watson for the patch.                          Closes: #659901
 .
   [ Yves-Alexis Perez ]
   * debian/rules:
     - use debhelper 9 hardening support.
   * debian/control:
     - update debhelper build-dep to 9.
     - drop build-dep on hardening-includes.
     - add build-dep on dpkg-dev 1.16.1 for hardening support.
Checksums-Sha1: 
 c4ab3da46b0408d2113ce33ff4f68e9076eea5df 2376 exo_0.6.2-4.dsc
 38a0c3ba4cc5eafd468196691e95fc42fee6e35b 13144 exo_0.6.2-4.debian.tar.gz
 7c8058115b6c857608691cc4c42e96d1d04ab244 489894 libexo-1-dev_0.6.2-4_amd64.deb
 d49c8d86fe64e17c5450cc9b4c511f13ae66c805 568380 libexo-1-0_0.6.2-4_amd64.deb
 79983476dbe7ec9cb126d7dac404409fae551002 157384 exo-utils_0.6.2-4_amd64.deb
 f0ba326a215132ddc6e2e9762d7f10aca3a39a87 508444 
libexo-1-0-dbg_0.6.2-4_amd64.deb
 267aec6f0cadb7f0e1927cb89af62ab4daac2ba6 221060 exo-utils-dbg_0.6.2-4_amd64.deb
 5832fcf52a1b132dde5c4cc75d2ffdfeeea3cc37 666730 libexo-common_0.6.2-4_all.deb
 3d79adb1115a6a2b45f787707a59f3eff7d77a34 115834 
libexo-helpers_0.6.2-4_amd64.deb
Checksums-Sha256: 
 c84136864575daad0949a5494650c421b3cb9288ea3b40c01b7f526fb410d3f1 2376 
exo_0.6.2-4.dsc
 8bc146a34971b9e70ac68308496b8b2d9ca1de2148ab286389ece67186ef363d 13144 
exo_0.6.2-4.debian.tar.gz
 12c2baad833f7375941c18c228dadbd3a9ab3b045b155d0342cf3806f2f4209c 489894 
libexo-1-dev_0.6.2-4_amd64.deb
 bb9d8c41b8fa28132b51fce05638208ce54351c9cfc73459e8d186f8ff477520 568380 
libexo-1-0_0.6.2-4_amd64.deb
 b95752a4ddb0c8cac9d840c735611fb95f880d30cacc12d659318667898ab9a6 157384 
exo-utils_0.6.2-4_amd64.deb
 0a1294826b0dbce9a43838b19d6520a62cf0b6c1b7af8918b3562b88429c78d5 508444 
libexo-1-0-dbg_0.6.2-4_amd64.deb
 2559a26966e7630460bf0099717746d2658ddbc36c0fcca9eae1536573cf35d0 221060 
exo-utils-dbg_0.6.2-4_amd64.deb
 5dda2be8b0c76be697e6c00d9aae659c79f91e53521666d9229bb0ee59796a49 666730 
libexo-common_0.6.2-4_all.deb
 e7ce81ef56caac91b3deb3cc395b5453bb8026d61e394d66eba15da58b6971ec 115834 
libexo-helpers_0.6.2-4_amd64.deb
Files: 
 ec95f9fd658c35d845479ce08f6284f3 2376 xfce optional exo_0.6.2-4.dsc
 6b242d10a810645de5b4d850ee6116f1 13144 xfce optional exo_0.6.2-4.debian.tar.gz
 e970d9d98dd720287e500273bbd88731 489894 libdevel optional 
libexo-1-dev_0.6.2-4_amd64.deb
 231b6296880cbed292a1b33c48deb9ce 568380 libs optional 
libexo-1-0_0.6.2-4_amd64.deb
 344d3ef932fdd4bff78b6e5cf313c8af 157384 xfce optional 
exo-utils_0.6.2-4_amd64.deb
 27e59a82e311456f346ec313ae9b2dec 508444 debug extra 
libexo-1-0-dbg_0.6.2-4_amd64.deb
 61b7d7033d70b04c492ec8a2a604e209 221060 debug extra 
exo-utils-dbg_0.6.2-4_amd64.deb
 3de5037f5e4f9a508080e735110572cb 666730 libs optional 
libexo-common_0.6.2-4_all.deb
 d128ec80167c36345ee703d815fecb80 115834 libs optional 
libexo-helpers_0.6.2-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCgAGBQJPQScsAAoJEDBVD3hx7wuoCKsQAKQRXNOyPP6ztFqqOc4lNxH0
0vpymmzuxYC6LdY56nyCO7IIrtUw+HCiQYn6rEZEVPN9zw4Bjsn6BPIZMDhG7/IB
9wNZwDAQXN2mKfRBEMWyJAYhy7fZ+zU7VHu8ybRsUzcMs2lIhfYruTaSv3iDvjoE
p2WbzdcWNbHAlNCCgEmmyrQpg1cxUk259m7LQstBptK0p8N63KgXpnsVPpGfLucg
6J8vIBcaMylJCj2oufNVdKJFIKSf9jlR9bCZES6UvNDo20dIAPyFCfVBRVf2FCbe
PyWMct0tpZvY2y4b2hviPSf1ApoeLHHUUbYCJAU7x/gmQffq871M/QOngg7uRyfG
dx547Bu8exdvdA7wdZDroRLJsnDaCgVZ7wtUupVzGbOUbBBUWBo/pHLKY3Mp0k+1
AYZzKiE+2pUloKsSOjCglLYDTS94r0FNVgtHDsluJAsTIXc6fRR4BrPXM5Hgz9ve
Y6EhY0oqy4e0VB+rUK18U6G7lHyOMQbXLbzZabbBsDfoKxMl4D8fucm2nPVuTpiL
8cOWSgmh91RnoO6m965+dHuhpjpa6B7IXK9y0jDRLIgQlR4IsnIH2BHVcDZoJ4In
AYt2IohcTjf3GpJZR/bii5Q2I45OjbQhLlK1F54cUVJHFbU7gl8NwLK7F0YXW568
uOFofB+csEPkZGgofO8v
=HUUe
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-xfce-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-xfce-devel

Reply via email to