Package: distro-info Version: 0.3 Severity: wishlist Hi,
I used to build binary packages for different distributions starting from the same source package, more or less like documented in: http://wiki.debian.org/PbuilderTricks#How_to_build_for_different_distributions and for that to work it is needed to retrieve the distribution alias (stable, unstable) from the codename. Maybe distro-utils can provide such functionality: $ distro-info --alias sid unstable $ distro-info --alias squeeze testing $ distro-info --alias natty natty This could also be used to play with debian/changelog when building for distributions different from 'unstable', AFAIR debian/changelog expects the alias (stable, unstable) in the distribution field, not the codename. What do you think about that? Thanks, Antonio Ospite http://ao2.it -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (900, 'unstable'), (600, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-rc9-ao2 (SMP w/1 CPU core) Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages distro-info depends on: ii distro-info-data 0.3 ii libc6 2.13-21 ii libffi5 3.0.10-3 ii libgmp10 2:5.0.2+dfsg-1 Versions of packages distro-info recommends: ii python-distro-info 0.3 distro-info suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org