From 9aae32a404670f439cf0eeb9e91419b67ee52b18 Mon Sep 17 00:00:00 2001
From: Roman Tsisyk <roman@tsisyk.com>
Date: Wed, 26 Oct 2016 14:24:27 +0300
Subject: [PATCH] Debian: fix couple critical packaging bugs

* Bug#842086: tarantool-dev: removal of tarantool-dev makes files disappear
  from tarantool-lts-dev
* Bug#842073: tarantool-common: unowned symlink after purge
* Lintian warning about debian/compact version
---
 debian/changelog               | 8 ++++++++
 debian/compat                  | 2 +-
 debian/control                 | 4 ++++
 debian/tarantool-common.postrm | 1 +
 4 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b6d6c1a396..d098ed0310 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tarantool (1.7.2.135.gcdf16ed-1) unstable; urgency=medium
+
+  * Fix unowned symlink on example.lua after purge. Closes: #842073.
+  * Add conflict on tarantool-lts-dev. Closes: #842086.
+  * Bump debhelper compact version as suggested by lintian.
+
+ -- Roman Tsisyk <roman@tarantool.org>  Wed, 26 Oct 2016 14:12:52 +0300
+
 tarantool (1.7.2.29.g2ad1af9-1) unstable; urgency=medium
 
   * Drop conflicts with tarantool-lts and tarantool-common-lts.
diff --git a/debian/compat b/debian/compat
index 45a4fb75db..ec635144f6 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 9ebc2c8d42..9daa3f1d71 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,8 @@ Package: tarantool-common
 Architecture: all
 Priority: optional
 Conflicts: tarantool-common (<< 1.5.3),
+ tarantool-lts-common,
+ tarantool-lts-dev,
  tarantool-lts-modules,
  tarantool-lts-client,
  tarantool-lts-postgresql-module,
@@ -59,6 +61,7 @@ Conflicts: tarantool-lts-common,
  tarantool-lts-modules,
  tarantool-lts-postgresql-module,
  tarantool-lts-mysql-module,
+ tarantool-lts-dev,
  tarantool-lts-client,
  tarantool-dbg (<< 1.5.2),
  tarantool-common (<< 1.6~),
@@ -94,6 +97,7 @@ Conflicts: tarantool-lts-common,
  tarantool-lts-postgresql-module,
  tarantool-lts-mysql-module,
  tarantool-lts-client,
+ tarantool-lts-dev,
  tarantool-dbg (<< 1.5.2),
  tarantool-common (<< 1.6~),
  tarantool-client (<< 1.6~),
diff --git a/debian/tarantool-common.postrm b/debian/tarantool-common.postrm
index 302d376d72..d4a70c2777 100644
--- a/debian/tarantool-common.postrm
+++ b/debian/tarantool-common.postrm
@@ -5,6 +5,7 @@ set -e
 case "$1" in
     purge)
         rm -fr  \
+            /etc/tarantool \
             /var/log/tarantool \
             /var/run/tarantool \
             /var/lib/tarantool
-- 
GitLab