Mercurial > hg
view contrib/packaging/docker/fedora29 @ 43358:518655314fc5 stable
packaging: use "python3" for fedora29 ... and as buildrpm default
Change the buidrpm default. The CentOS targets explicitly use "python", and
changing the default will only influence Fedora 29.
A Python 3 package needs python3 dependencies, so pythonexe (and pythonver) is
used for specifying dependencies. Other OS versions will keep using "python" as
before ... or potentially change to explicit "python2". Fedora 29 packages can
thus also still be built for Python 2 - just not in the docker image that is
updated for Python 3.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 01 Nov 2019 12:59:22 +0100 |
parents | d0a6b2c8f8b6 |
children |
line wrap: on
line source
FROM fedora:29 RUN groupadd -g 1000 build && \ useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build RUN dnf install -y \ gcc \ gettext \ make \ python3-devel \ python3-docutils \ rpm-build # For creating repo meta data RUN dnf install -y createrepo