changeset 28989:a8256e3701be stable

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).
author Sean Farley <sean@farley.io>
date Sat, 16 Apr 2016 12:42:53 -0700
parents 4f1dac94b53f
children 62c245c59433
files contrib/builddeb contrib/debian/changelog
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.