From 5757db9a4aece2e11a640337070f0ef6cb931d80 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 28 Oct 2018 20:52:32 +0100 Subject: [PATCH] Revert "Switch from -dbg to -dbgsym packages" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit d83a7463c97692da71deedac4e1327e39015dab9. Reason: for python, -dbg packages are special, and contain more than just stripped symbols… --- debian/control | 28 ++++++++++++++++++++++++++++ debian/rules | 6 ++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index 4f05783..36b4307 100644 --- a/debian/control +++ b/debian/control @@ -25,6 +25,20 @@ Description: module for manipulating filesystem extended attributes . This package contains the library for Python 2. +Package: python-pyxattr-dbg +Section: debug +Priority: extra +Architecture: any +Depends: python-pyxattr (= ${binary:Version}), python-dbg, ${shlibs:Depends}, + ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +Description: module for manipulating filesystem extended attributes (debug extension) + pyxattr is a Python interface to the libattr library. It allows + manipulation of the filesystem extended attributes present in some + operating systems (GNU/Linux included). + . + This package contains the library for the Python 2 debug interpreter. + Package: python3-pyxattr Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} @@ -37,6 +51,20 @@ Description: module for manipulating filesystem extended attributes (Python3) . This package contains the library for Python 3. +Package: python3-pyxattr-dbg +Section: debug +Priority: extra +Architecture: any +Depends: python3-pyxattr (= ${binary:Version}), python3-dbg, + ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Provides: ${python3:Provides} +Description: module for manipulating filesystem extended attributes (Python3 debug version) + pyxattr is a Python interface to the libattr library. It allows + manipulation of the filesystem extended attributes present in some + operating systems (GNU/Linux included). + . + This package contains the library for the Python 3 debug interpreter. + Package: python-pyxattr-doc Architecture: all Section: doc diff --git a/debian/rules b/debian/rules index 39bc3c1..0efa0b6 100755 --- a/debian/rules +++ b/debian/rules @@ -27,10 +27,12 @@ override_dh_auto_clean: $(MAKE) clean override_dh_strip: - dh_strip -ppython-pyxattr --dbgsym-migration='python-pyxattr-dbg (<<0.6.1-1~)' - dh_strip -ppython3-pyxattr --dbgsym-migration='python3-pyxattr-dbg (<<0.6.1-1~)' + dh_strip -ppython-pyxattr --dbg-package=python-pyxattr-dbg + dh_strip -ppython3-pyxattr --dbg-package=python3-pyxattr-dbg override_dh_installdocs: + dh_installdocs --link-doc=python-pyxattr -ppython-pyxattr-dbg + dh_installdocs --link-doc=python3-pyxattr -ppython3-pyxattr-dbg dh_installdocs -A --remaining-packages README.rst override_dh_installchangelogs: -- 2.39.5