From c727dbdd090a1d1758944a62152949f8c6f97d0c Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sat, 14 May 2016 15:11:16 +0200 Subject: [PATCH] Move from manual to automatic debug packages Yay, simplifying things! --- debian/control | 32 -------------------------------- debian/rules | 8 ++------ 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/debian/control b/debian/control index 6d3306a..ef0ec76 100644 --- a/debian/control +++ b/debian/control @@ -19,33 +19,16 @@ Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${sphinxdoc:Depends} Provides: ${python:Provides} -Suggests: python-pyxattr-dbg Description: module for manipulating filesystem extended attributes 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). -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 extension built for the Python debug - interpreter. - Package: python3-pyxattr Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${sphinxdoc:Depends} Provides: ${python3:Provides} -Suggests: python3-pyxattr-dbg Description: module for manipulating filesystem extended attributes (Python3) pyxattr is a Python interface to the libattr library. It allows manipulation of the filesystem extended attributes present in some @@ -53,18 +36,3 @@ Description: module for manipulating filesystem extended attributes (Python3) . This package contains the extension built for the Python3 interpreter. - -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 extension built for the Python3 debug - interpreter. diff --git a/debian/rules b/debian/rules index a42a6d7..7dc87c0 100755 --- a/debian/rules +++ b/debian/rules @@ -67,12 +67,8 @@ binary-arch: build install dh_installchangelogs dh_installdocs dh_sphinxdoc - dh_strip -ppython-pyxattr --dbg-package=python-pyxattr-dbg - dh_strip -ppython3-pyxattr --dbg-package=python3-pyxattr-dbg - rm -rf $(DBGROOT)/usr/share/doc/python-pyxattr-dbg - ln -s python-pyxattr $(DBGROOT)/usr/share/doc/python-pyxattr-dbg - rm -rf $(DBG3ROOT)/usr/share/doc/python3-pyxattr-dbg - ln -s python3-pyxattr $(DBG3ROOT)/usr/share/doc/python3-pyxattr-dbg + dh_strip -ppython-pyxattr --dbgsym-migration='python-pyxattr-dbg (<< 0.5.6-1~)' + dh_strip -ppython3-pyxattr --dbgsym-migration='python3-pyxattr-dbg (<< 0.5.6-1~)' dh_compress -X.js dh_fixperms dh_python2 -- 2.39.5