[PATCH] buildrpm: bump bundled Python version to 2.7.16 when building for centos{5, 6}

Gregory Szorc gregory.szorc at gmail.com
Wed Apr 24 22:07:48 EDT 2019


On Thu, Apr 18, 2019 at 5:53 PM Antonio Muci via Mercurial-devel <
mercurial-devel at mercurial-scm.org> wrote:

> # HG changeset patch
> # User Antonio Muci <a.mux at inwind.it>
> # Date 1555633465 -7200
> #      Fri Apr 19 02:24:25 2019 +0200
> # Branch stable
> # Node ID 76724fb64a22ca2c68e165e71914827601339300
> # Parent  84b5ad5fc2aa81d114d0c8ff869367104e997dd3
> buildrpm: bump bundled Python version to 2.7.16 when building for
> centos{5,6}
>

Queued for stable. Thank you for the packaging enhancement!


>
> When building rpm packages for centos 5 and 6, we bundle a
> mercurial-specific
> version of Python 2.7 in /opt/python-hg.
>
> This change is analogous to 5e947367606c, and bumps the embedded Python
> version
> from 2.7.14 (released in 2017) to 2.7.16 (latest as of today).
>
> diff --git a/contrib/Makefile.python b/contrib/Makefile.python
> --- a/contrib/Makefile.python
> +++ b/contrib/Makefile.python
> @@ -1,4 +1,4 @@
> -PYTHONVER=2.7.14
> +PYTHONVER=2.7.16
>  PYTHONNAME=python-
>  PREFIX=$(HOME)/bin/prefix-$(PYTHONNAME)$(PYTHONVER)
>  SYMLINKDIR=$(HOME)/bin
> diff --git a/contrib/packaging/buildrpm b/contrib/packaging/buildrpm
> --- a/contrib/packaging/buildrpm
> +++ b/contrib/packaging/buildrpm
> @@ -20,8 +20,8 @@ while [ "$1" ]; do
>          ;;
>      --withpython | --with-python)
>          shift
> -        PYTHONVER=2.7.14
> -        PYTHONMD5=cee2e4b33ad3750da77b2e85f2f8b724
> +        PYTHONVER=2.7.16
> +        PYTHONMD5=f1a2ace631068444831d01485466ece0
>          ;;
>      --rpmbuilddir )
>          shift
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190424/f4924e1e/attachment.html>


More information about the Mercurial-devel mailing list