Cyril Brulebois <k...@debian.org> writes: > Ben Finney <ben+deb...@benfinney.id.au> (19/01/2009):
>> latest_debian_version=$(rmadison --suite ${suitename} ${packagename} \ >> | cut -d'|' -f 2 | sed -e 's/^[[:space:]]+//') > Beware, you need to limit that to the source (in case there's a binary > built that has the same name, and in case there are some archs out of > sync), e.g.: > | $ rmadison --suite unstable guile-1.6 > | guile-1.6 | 1.6.8-6 | unstable | hppa, m68k, sparc > | guile-1.6 | 1.6.8-6.1 | unstable | source, alpha, amd64, arm, armel, > hurd-i386, i386, ia64, mips, mipsel, powerpc, s390 It would be great to get this into debuild as an option, so that you could pass it some flag and it would do this work to figure out the last Debian version and include all the changelog entries to that point. Maybe someone (Ben, perhaps?) could open a wishlist bug against devscripts with the final version of the code? -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org