[PATCH 1 of 7 STABLE] builddeb: use codename in version
Yuya Nishihara
yuya at tcha.org
Sun May 1 09:18:44 UTC 2016
On Sun, 01 May 2016 00:12:01 -0700, Sean Farley wrote:
> # 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"
I don't know how ppa versions work, but appending arbitrary text after
number should be okay.
Pushed the patches 1-3 and 6 to the committed repo, thanks.
More information about the Mercurial-devel
mailing list