From 83bd24c66b46de4bd90006a90e0c474dad6240f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 30 Sep 2018 20:18:04 +0200 Subject: Use the automatic debug symbol packages; Migrate to debhelper 11 --- debian/changelog | 7 +++++++ debian/compat | 2 +- debian/control | 20 +++----------------- debian/libmongo-client0-dbg.maintscript | 1 - debian/rules | 3 --- 5 files changed, 11 insertions(+), 22 deletions(-) delete mode 100644 debian/libmongo-client0-dbg.maintscript diff --git a/debian/changelog b/debian/changelog index 187b11a..ac54df6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,13 @@ libmongo-client (0.1.8-4) UNRELEASED; urgency=medium * Change to my new email address. + * Use the automatic debug symbol packages: + - Remove libmongo-client0-dbg section from debian/control. + - Remove override_dh_strip from debian/rules. + - Remove debian/libmongo-client0-dbg.maintscript. + * Migrate to debhelper 11: + - Change debian/compat to 11. + - Bump minimum debhelper version in debian/control to >= 11. -- Jörg Frings-Fürst Sun, 30 Sep 2018 19:54:58 +0200 diff --git a/debian/compat b/debian/compat index ec63514..b4de394 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +11 diff --git a/debian/control b/debian/control index 4c0dcdd..aa84181 100644 --- a/debian/control +++ b/debian/control @@ -2,8 +2,9 @@ Source: libmongo-client Priority: extra Maintainer: Jörg Frings-Fürst Build-Depends: - debhelper (>= 9~), - libglib2.0-dev, perl, + debhelper (>= 11~), + libglib2.0-dev, + perl, dh-autoreconf Build-Depends-Indep: doxygen, @@ -54,21 +55,6 @@ Description: Development files for the alternate C driver for MongoDB as only it includes the header files and static libraries needed for compiling. -Package: libmongo-client0-dbg -Section: debug -Architecture: any -Multi-Arch: same -Depends: - libmongo-client0 (= ${binary:Version}), - ${misc:Depends} -Description: Alternate C driver for MongoDB (debugging symbols) - libmongo-client is an alternative C language driver to the MongoDB - document-oriented datastore. - . - This package contains detached debugging symbols. - . - Most people will not need this package. - Package: libmongo-client-doc Section: doc Architecture: all diff --git a/debian/libmongo-client0-dbg.maintscript b/debian/libmongo-client0-dbg.maintscript deleted file mode 100644 index ca07077..0000000 --- a/debian/libmongo-client0-dbg.maintscript +++ /dev/null @@ -1 +0,0 @@ -symlink_to_dir /usr/share/doc/libmongo-client0-dbg /usr/share/doc/libmongo-client0 0.1.8-3.1~ diff --git a/debian/rules b/debian/rules index 272002f..727a285 100755 --- a/debian/rules +++ b/debian/rules @@ -59,9 +59,6 @@ override_dh_compress: dh_compress -Xusr/share/doc/libmongo-client0/examples/ \ -Xusr/share/doc/libmongo-client0/html/ -override_dh_strip: - dh_strip --dbg-package=libmongo-client0-dbg - override_dh_makeshlibs: dh_makeshlibs dpkg-gensymbols -v$(UPSTREAM_VERSION) -plibmongo-client0 -- cgit v1.2.3