Commit 4afab6fe authored by Mathieu Parent's avatar Mathieu Parent

Use automatic debug packages (-dbgsym)

parent 2a00a609
......@@ -41,23 +41,6 @@ Description: LDAP-like embedded database - shared library
.
This package contains the shared library file.
Package: libldb1-dbg
Multi-Arch: same
Architecture: any
Section: debug
Priority: extra
Depends: libldb1 (= ${binary:Version}), ${misc:Depends}
Recommends: libc6-dbg
Description: LDAP-like embedded database - debug symbols
ldb is a LDAP-like embedded database built on top of TDB.
.
It provides a fast database with an LDAP-like API designed
to be used within an application. In some ways it can be seen as a
intermediate solution between key-value pair databases and a real LDAP
database.
.
This package contains the debug symbols.
Package: ldb-tools
Section: utils
Architecture: any
......@@ -123,15 +106,3 @@ Description: LDB Python bindings - development files
database.
.
This package contains the development files for the Python bindings.
Package: python-ldb-dbg
Section: debug
Priority: extra
Architecture: any
Depends: python-ldb (= ${binary:Version}), ${misc:Depends}, ${python:Depends}
Provides: ${python:Provides}
Recommends: python-dbg, python-talloc-dbg, python-tdb-dbg
Description: Python bindings for LDB - debug extension
ldb is a LDAP-like embedded database built on top of TDB.
.
This package contains the Python debug extension.
......@@ -68,9 +68,7 @@ override_dh_auto_install:
mv libldb.a $(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)
override_dh_strip:
dh_strip -pldb-tools
dh_strip -ppython-ldb --dbg-package=python-ldb-dbg
dh_strip -plibldb1 --dbg-package=libldb1-dbg
dh_strip --dbgsym-migration='python-ldb-dbg (<< 2:1.1.27-1~), libldb1-dbg (<< 2:1.1.27-1~)'
override_dh_makeshlibs:
dh_makeshlibs -Xldb.so -ppython-ldb -- -c4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment