From 766aec3a449e7f251c16b916be72619d8e5cc266 Mon Sep 17 00:00:00 2001
From: Guillem Jover <gjover@sipwise.com>
Date: Mon, 13 Nov 2017 15:43:28 +0100
Subject: [PATCH] TT#22072 Update packaging

- Bump Standards-Version to 3.9.8.
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Canonicalize Homepage URL.
- Wrap and sort dependency fields.
- Add debian/.gitignore file.

Change-Id: I5f715bb77532961eb92aa59bf89a100b9c3c41ac
---
 debian/.gitignore |  7 +++++++
 debian/compat     |  2 +-
 debian/control    | 14 ++++++++------
 3 files changed, 16 insertions(+), 7 deletions(-)
 create mode 100644 debian/.gitignore

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 00000000..cef86fb2
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,7 @@
+*.log
+*.substvars
+*.debhelper
+/.debhelper/
+/files
+/debhelper-build-stamp
+/ngcp-db-schema/
diff --git a/debian/compat b/debian/compat
index ec635144..f599e28b 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 258dbda8..6afd5c88 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,17 @@
 Source: ngcp-db-schema
 Section: admin
-Priority: extra
+Priority: optional
 Maintainer: Sipwise Development Team <support@sipwise.com>
-Build-Depends: debhelper (>= 9~)
-Standards-Version: 3.9.7
-Homepage: http://sipwise.com/
+Standards-Version: 3.9.8
+Homepage: https://www.sipwise.com/
+Build-Depends:
+ debhelper (>= 10~),
 
 Package: ngcp-db-schema
 Architecture: all
-Depends: ngcp-system-tools-ce | ngcp-system-tools,
-         ${misc:Depends}
+Depends:
+ ${misc:Depends},
+ ngcp-system-tools-ce | ngcp-system-tools,
 Description: database schema for Sipwise's NGCP platform
  This package provides the database schema for Sipwise's NGCP
  platform.