From 9f0f1270a5889ed066dfdb9a3e77b9c7852c7bd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?=
 <frederic.dalleau@collabora.com>
Date: Thu, 28 Mar 2019 11:00:01 +0000
Subject: [PATCH] Switch to dbgsym package starting next version
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com>
---
 debian/control | 15 ---------------
 debian/rules   |  2 +-
 2 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/debian/control b/debian/control
index 5474862..d8ca8ed 100644
--- a/debian/control
+++ b/debian/control
@@ -174,21 +174,6 @@ Description: Sensors and actuators service
  .
  This package contains the service itself.
 
-Package: rhosydd-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Multi-Arch: same
-Depends:
- libcroesor-0-4 (= ${binary:Version}),
- librhosydd-0-4 (= ${binary:Version}),
- ${misc:Depends},
-Description: Debugging symbols for the Rhosydd service
- Rhosydd mediates access to vehicle sensors and actuators.
- .
- This package contains detached debugging symbols. Most people will not
- need this package.
-
 Package: rhosydd-mock-backends
 Section: misc
 Architecture: any
diff --git a/debian/rules b/debian/rules
index d01df73..b8367a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ override_dh_auto_configure:
 		$(NULL)
 
 override_dh_strip:
-	dh_strip --dbg-package=rhosydd-dbg
+	dh_strip --dbgsym-migration='rhosydd-dbg (<< 0.2019~dev0.2~)'
 
 override_dh_install:
 	rm -f debian/tmp/usr/lib/*/*.la
-- 
GitLab