Patchwork D3892: packaging: add fedora 28

login
register
mail settings
Submitter phabricator
Date July 5, 2018, 12:52 p.m.
Message ID <afe079eecf8955c0be107b613c8b1756@localhost.localdomain>
Download mbox | patch
Permalink /patch/32640/
State Not Applicable
Headers show

Comments

phabricator - July 5, 2018, 12:52 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG600d8d9b8551: packaging: add fedora 28 (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3892?vs=9447&id=9459

REVISION DETAIL
  https://phab.mercurial-scm.org/D3892

AFFECTED FILES
  Makefile
  contrib/packaging/Makefile
  contrib/packaging/docker/fedora28

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

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 \