# HG changeset patch # User Mathias De Mare # Date 1572850613 -3600 # Node ID 7c9d42c1042d011db165493c92f844a0947b34a3 # Parent a69772d2f3c3a6a14aa6d664ea20217f48392dd4 packaging: add support for CentOS 8 The resulting executable has not been tested in detail yet. I ran 'hg version' and 'hg clone', which worked fine (except for extensions acting up due to Python 3). Differential Revision: https://phab.mercurial-scm.org/D7216 diff -r a69772d2f3c3 -r 7c9d42c1042d Makefile --- a/Makefile Mon Nov 04 07:40:32 2019 +0100 +++ b/Makefile Mon Nov 04 07:56:53 2019 +0100 @@ -183,10 +183,12 @@ centos5 \ centos6 \ centos7 \ + centos8 \ deb \ docker-centos5 \ docker-centos6 \ docker-centos7 \ + docker-centos8 \ docker-debian-jessie \ docker-debian-stretch \ docker-fedora \ diff -r a69772d2f3c3 -r 7c9d42c1042d contrib/packaging/Makefile --- a/contrib/packaging/Makefile Mon Nov 04 07:40:32 2019 +0100 +++ b/contrib/packaging/Makefile Mon Nov 04 07:56:53 2019 +0100 @@ -16,7 +16,8 @@ CENTOS_RELEASES := \ 5 \ 6 \ - 7 + 7 \ + 8 # Build a Python for these CentOS releases. CENTOS_WITH_PYTHON_RELEASES := 5 6 diff -r a69772d2f3c3 -r 7c9d42c1042d contrib/packaging/docker/centos8 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/contrib/packaging/docker/centos8 Mon Nov 04 07:56:53 2019 +0100 @@ -0,0 +1,15 @@ +FROM centos:centos8 + +RUN groupadd -g %GID% build && \ + useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build + +RUN yum install -y \ + gcc \ + gettext \ + make \ + python3-devel \ + python3-docutils \ + rpm-build + +# For creating repo meta data +RUN yum install -y createrepo