From f4bb4982c38d76a736e20a7b38b43e6a988e75a2 Mon Sep 17 00:00:00 2001
From: Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
Date: Thu, 6 Jul 2017 17:24:29 -0400
Subject: [PATCH] packaging: support of recent fedora/ubuntu releases

add Fedora26 and Ubuntu 17.10

Change-Id: Id32c797d11f0e7453beaa63d1c7138f5da9e278e
---
 Makefile.packaging               |  6 +++++-
 scripts/make-packaging-target.py | 20 ++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/Makefile.packaging b/Makefile.packaging
index 0d159b30..576e2fae 100644
--- a/Makefile.packaging
+++ b/Makefile.packaging
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 Savoir-faire Linux Inc.
+# Copyright (C) 2016-2017 Savoir-faire Linux Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -85,6 +85,8 @@ package-all: package-debian_8 \
              package-ubuntu_16.10_i386 \
              package-ubuntu_17.04 \
              package-ubuntu_17.04_i386 \
+             package-ubuntu_17.10 \
+             package-ubuntu_17.10_i386 \
              package-fedora_22 \
              package-fedora_22_i386 \
              package-fedora_23 \
@@ -93,6 +95,8 @@ package-all: package-debian_8 \
              package-fedora_24_i386 \
              package-fedora_25 \
              package-fedora_25_i386 \
+             package-fedora_26 \
+             package-fedora_26_i386 \
              package-gentoo
 
 # Append the output of make-packaging-target to this Makefile
diff --git a/scripts/make-packaging-target.py b/scripts/make-packaging-target.py
index 272f503b..d179ca14 100755
--- a/scripts/make-packaging-target.py
+++ b/scripts/make-packaging-target.py
@@ -160,6 +160,16 @@ def run_generate_all(parsed_args):
             "debian_packaging_override": "",
             "output_file": "$(DEBIAN_DSC_FILENAME)",
         },
+        {
+            "distribution": "ubuntu_17.10",
+            "debian_packaging_override": "",
+            "output_file": "$(DEBIAN_DSC_FILENAME)",
+        },
+        {
+            "distribution": "ubuntu_17.10_i386",
+            "debian_packaging_override": "",
+            "output_file": "$(DEBIAN_DSC_FILENAME)",
+        },
         # Fedora
         {
             "distribution": "fedora_22",
@@ -201,6 +211,16 @@ def run_generate_all(parsed_args):
             "debian_packaging_override": "",
             "output_file": ".packages-built",
         },
+        {
+            "distribution": "fedora_26",
+            "debian_packaging_override": "",
+            "output_file": ".packages-built",
+        },
+        {
+            "distribution": "fedora_26_i386",
+            "debian_packaging_override": "",
+            "output_file": ".packages-built",
+        },
         # Gentoo
         {
             "distribution": "gentoo",
-- 
GitLab