builddeb: use the os codename instead of 'unstable'
This fixes a lintian error (and indeed, launchpad rejects it) by using the
distribution's codename (e.g. xenial, trusty, etc).
--- a/contrib/builddeb Sat Apr 16 12:33:21 2016 -0700
+++ b/contrib/builddeb Sat Apr 16 12:42:53 2016 -0700
@@ -69,6 +69,7 @@
sed -i.tmp "s/__VERSION__/$debver/" $changelog
sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog
+ sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog
rm $changelog.tmp
debuild -us -uc -b
--- a/contrib/debian/changelog Sat Apr 16 12:33:21 2016 -0700
+++ b/contrib/debian/changelog Sat Apr 16 12:42:53 2016 -0700
@@ -1,4 +1,4 @@
-mercurial (__VERSION__) unstable; urgency=medium
+mercurial (__VERSION__) __CODENAME__; urgency=medium
* Automated build performed by upstream.