[PATCH 1 of 7 STABLE] builddeb: use codename in version

Sean Farley sean at farley.io
Sun May 1 07:12:01 UTC 2016


# HG changeset patch
# User Sean Farley <sean at farley.io>
# Date 1462042305 25200
#      Sat Apr 30 11:51:45 2016 -0700
# Branch stable
# Node ID 8989df4c49c34a88be3569f1e0e82a06c6b9a39b
# Parent  cbf282da720ac907b492a2b1045288130d6d166e
# EXP-Topic docker-ppa
builddeb: use codename in version

Apparently, this is needed to allow ppas to be built for multiple distros.

diff --git a/contrib/builddeb b/contrib/builddeb
--- a/contrib/builddeb
+++ b/contrib/builddeb
@@ -55,11 +55,11 @@ gethgversion
 debver="$version"
 if [ -n "$type" ] ; then
     debver="$debver~$type"
 fi
 if [ -n "$distance" ] ; then
-    debver="$debver+$distance-$node"
+    debver="$debver+$distance-$CODENAME-$node"
 fi
 
 control=debian/control
 changelog=debian/changelog
 


More information about the Mercurial-devel mailing list