just take the latest one.
fi
# turn binary package names into source
-if src=`apt-cache show $pkg 2>/dev/null| grep ^Source:`; then
+if src=`apt-cache show $pkg 2>/dev/null| grep -m 1 ^Source:`; then
pkg=${src#Source: }
fi
+apt (0.8.8ubuntu3) UNRELEASED; urgency=low
+
+ * cmdline/apt-changelog: Filter out multiple results for a source package,
+ just take the latest one.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 12 Nov 2010 16:53:31 +0100
+
apt (0.8.8ubuntu2) natty; urgency=low
* Add cmdline/apt-changelog: Script to fetch package changelog from