From 6a22a39ece0986a46a9f1afc72bf06e064119b1a Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Tue, 5 Apr 2016 18:44:44 +0200 Subject: [PATCH] Drop libgit2-dbg and migrate to dbgsym --- debian/control | 18 ++---------------- debian/rules | 4 ++-- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/debian/control b/debian/control index 1c5bbf0ca..c68a0c5f7 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: libgit2 Section: libs Priority: extra Maintainer: Russell Sim -Build-Depends: debhelper (>= 9.20120417), python-minimal (>= 2.4.0), pkg-config, +Build-Depends: debhelper (>= 9.20160114), + python-minimal (>= 2.4.0), pkg-config, cmake, libz-dev, libcurl4-gnutls-dev, libssh2-1-dev, libhttp-parser-dev Standards-Version: 3.9.7 @@ -34,18 +35,3 @@ Description: low-level Git library libgit2 is a portable, pure C implementation of the Git distributed version control system core methods provided as a re-entrant link-able library with a solid API. - -Package: libgit2-dbg -Section: debug -Architecture: any -Multi-Arch: same -Depends: libgit2-24 (= ${binary:Version}), - ${misc:Depends} -Description: libgit2 library and debugging symbols - libgit2 is a portable, pure C implementation of the Git - distributed version control system core methods provided as a - re-entrant link-able library with a solid API. - . - This package contains detached debugging symbols. - . - Most people will not need this package. diff --git a/debian/rules b/debian/rules index 72436f3bc..dc683dcc1 100755 --- a/debian/rules +++ b/debian/rules @@ -46,11 +46,11 @@ override_dh_auto_test: dh_auto_test --builddirectory=build-debian-devel override_dh_strip: - dh_strip --dbg-package=libgit2-dbg + dh_strip --dbgsym-migration='libgit2-dbg (<< 0.24.0-2~)' override_dh_installexamples: dh_installexamples --exclude .gitignore %: - dh $@ --parallel --buildsystem cmake --dbg-package=libgit2-dbg --builddirectory=build-debian-release + dh $@ --parallel --buildsystem cmake --dbgsym-migration='libgit2-dbg (<< 0.24.0-2~)' --builddirectory=build-debian-release dh $@ --parallel --buildsystem cmake --builddirectory=build-debian-devel