Package: debhelper
Version: 6.0.5
Severity: minor

As discussed on debian-devel, it's nice to have deterministic output
for dependency fields. See the thread that started here:
http://lists.debian.org/debian-devel/2008/02/msg00893.html

Thus I'd suggest you to fix the delsubstvar and addsubstvar functions
in /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm to have deterministic
output in variables created by debhelper-based programs like
dh_pysupport (python:Depends) or dh_installdebconf (misc:Depends).

Replace the lines:
    $line=join(", ", keys %items);
With:
    $line=join(", ", sort keys %items);

Even nicer would be to sort with a custom algorithm so that 
"package (>> 1)" sorts before "package (<< 2)" but I won't complain
if you discard this request. For reference, when I sorted the output of
dpkg-gencontrol I got precisly this request (that's why I'm mentionning
it): http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455520

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debhelper depends on:
ii  binutils            2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  dpkg-dev            1.14.17              package building tools for Debian
ii  file                4.23-2               Determines file type using "magic"
ii  html2text           1.3.2a-3             An advanced HTML to text converter
ii  man-db              2.5.1-2              on-line manual pager
ii  perl                5.8.8-12             Larry Wall's Practical Extraction 
ii  po-debconf          1.0.12               manage translated Debconf template

debhelper recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to