# HG changeset patch # User Sean Farley # Date 1462568951 25200 # Node ID c4f0e764b231b55ccce1af78928b8c6c2bdcb201 # Parent 0f686ef9472675c748483cc9174311f2dc45bd00 builddeb: add distroseries to tagged versions This is needed so that launchpad and friends have a unique version number for each distroseries (trusty, wily, xenial, etc). It was discovered when trying to upload 3.8 to launchpad. diff -r 0f686ef94726 -r c4f0e764b231 contrib/builddeb --- a/contrib/builddeb Sun May 01 15:26:41 2016 -0700 +++ b/contrib/builddeb Fri May 06 14:09:11 2016 -0700 @@ -58,6 +58,10 @@ fi if [ -n "$distance" ] ; then debver="$debver+$distance-$CODENAME-$node" +elif [ "$DEBFLAGS" = "-S" ] ; then + # for building a ppa (--source-only) for a release (distance == 0), we need + # to version the distroseries so that we can upload to launchpad + debver="$debver~${CODENAME}1" fi control=debian/control