From d83a7463c97692da71deedac4e1327e39015dab9 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 28 Oct 2018 19:47:18 +0100 Subject: [PATCH] Switch from -dbg to -dbgsym packages Yay for simplicity! --- debian/control | 30 +----------------------------- debian/rules | 6 ++---- 2 files changed, 3 insertions(+), 33 deletions(-) diff --git a/debian/control b/debian/control index c3f4ecc..4e0f4b6 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: python-pyxattr Section: python Priority: optional Maintainer: Iustin Pop -Build-Depends: debhelper (>= 9), dh-python, +Build-Depends: debhelper (>= 9.20160114), dh-python, python (>= 2.6.6-3~), python-all-dev (>= 2.6.6-3~), python-all-dbg, python3-all, python3-all-dev, python3-all-dbg, python-setuptools, python3-setuptools, @@ -26,20 +26,6 @@ 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} @@ -52,20 +38,6 @@ 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 0efa0b6..39bc3c1 100755 --- a/debian/rules +++ b/debian/rules @@ -27,12 +27,10 @@ override_dh_auto_clean: $(MAKE) clean override_dh_strip: - dh_strip -ppython-pyxattr --dbg-package=python-pyxattr-dbg - dh_strip -ppython3-pyxattr --dbg-package=python3-pyxattr-dbg + 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~)' 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.2