D3892: packaging: add fedora 28
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Jul 5 07:44:40 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3892
AFFECTED FILES
Makefile
contrib/packaging/Makefile
contrib/packaging/docker/fedora28
CHANGE DETAILS
diff --git a/contrib/packaging/docker/fedora28 b/contrib/packaging/docker/fedora28
new file mode 100644
--- /dev/null
+++ b/contrib/packaging/docker/fedora28
@@ -0,0 +1,15 @@
+FROM fedora:28
+
+RUN groupadd -g 1000 build && \
+ useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
+
+RUN dnf install -y \
+ gcc \
+ gettext \
+ make \
+ python-devel \
+ python-docutils \
+ rpm-build
+
+# For creating repo meta data
+RUN dnf install -y createrepo
diff --git a/contrib/packaging/Makefile b/contrib/packaging/Makefile
--- a/contrib/packaging/Makefile
+++ b/contrib/packaging/Makefile
@@ -13,7 +13,8 @@
FEDORA_RELEASES := \
20 \
- 21
+ 21 \
+ 28
CENTOS_RELEASES := \
5 \
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -176,6 +176,7 @@
docker-debian-stretch \
docker-fedora20 \
docker-fedora21 \
+ docker-fedora28 \
docker-ubuntu-trusty \
docker-ubuntu-trusty-ppa \
docker-ubuntu-xenial \
@@ -186,6 +187,7 @@
docker-ubuntu-bionic-ppa \
fedora20 \
fedora21 \
+ fedora28 \
linux-wheels \
linux-wheels-x86_64 \
linux-wheels-i686 \
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list