[Python-modules-commits] r10585 - in packages/python-lzma/trunk/debian (control rules)
mrbeige-guest at users.alioth.debian.org
mrbeige-guest at users.alioth.debian.org
Tue Nov 24 23:57:02 UTC 2009
Date: Tuesday, November 24, 2009 @ 23:57:01
Author: mrbeige-guest
Revision: 10585
Fix -dbg package, but I'm unsure how "correct" this is...
Modified:
packages/python-lzma/trunk/debian/control
packages/python-lzma/trunk/debian/rules
Modified: packages/python-lzma/trunk/debian/control
===================================================================
--- packages/python-lzma/trunk/debian/control 2009-11-24 22:05:10 UTC (rev 10584)
+++ packages/python-lzma/trunk/debian/control 2009-11-24 23:57:01 UTC (rev 10585)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Richard Darst <rkd at zgib.net>
-Build-Depends: debhelper (>= 7.0.50~), liblzma-dev, python-all-dev (>= 2.5.4-3~), python-setuptools, pkg-config, python-support
+Build-Depends: debhelper (>= 7.0.50~), liblzma-dev, python-all-dev (>= 2.5.4-3~), python-setuptools, pkg-config, python-support, python-all-dbg (>= 2.5.4-3~)
Standards-Version: 3.8.3
XS-Python-Version: >= 2.6
Homepage: https://launchpad.net/pyliblzma
Modified: packages/python-lzma/trunk/debian/rules
===================================================================
--- packages/python-lzma/trunk/debian/rules 2009-11-24 22:05:10 UTC (rev 10584)
+++ packages/python-lzma/trunk/debian/rules 2009-11-24 23:57:01 UTC (rev 10585)
@@ -28,6 +28,14 @@
dh_auto_install --destdir=debian/python-lzma/
override_dh_strip:
dh_strip --dbg-package=python-lzma-dbg
+# The _d.so files need to be moved to the -dbg package, in the
+# same location
+ cd debian/python-lzma && find . -name '*_d.so' \
+ -exec cp --parents {} ../../debian/python-lzma-dbg/ \; -delete
+
+ mv debian/python-lzma-dbg/usr/lib/debug/usr/lib/pyshared \
+ debian/python-lzma-dbg/usr/lib/debug/usr/lib/pymodules
+
# debug package can refer to docs of depended-on binary package
override_dh_installdocs:
dh_installdocs
More information about the Python-modules-commits
mailing list