Package: python-dmidecode Version: 3.10.7-1.1 Severity: important Tags: patch
Once Python 2.6 hits Unstable, your package will build with files in /usr/local. This is easy enough to fix and the current Python in Unstable already supports the changes you need to make. Patch attached. Also, not strictly speaking a bug, but there is no need to build-dep on both python and python-all-dev. python-all-dev will always depend on python. -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-backports'), (500, 'karmic') Architecture: i386 (i686) Kernel: Linux 2.6.31-16-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u python-dmidecode-3.10.7/debian/rules python-dmidecode-3.10.7/debian/rules --- python-dmidecode-3.10.7/debian/rules +++ python-dmidecode-3.10.7/debian/rules @@ -30,10 +30,10 @@ dh_installman install-stamp: build-stamp $(PYVERS:%=install-ext-%) $(PYVERS:%=install-dbg-ext-%) install-ext-%: - python$* src/setup.py install --root $(CURDIR)/debian/$(PACKAGE) + python$* src/setup.py install --root $(CURDIR)/debian/$(PACKAGE) --install-layout=deb touch $@ install-dbg-ext-%: - python$*-dbg src/setup-dbg.py install --root $(CURDIR)/debian/$(PACKAGE)-dbg + python$*-dbg src/setup-dbg.py install --root $(CURDIR)/debian/$(PACKAGE)-dbg --install-layout=deb #find $(CURDIR)/debian/$(PACKAGE)-dbg/usr/lib/python$*/ ! -type d ! -name '*_d\.so' -delete #find $(CURDIR)/debian/$(PACKAGE)-dbg/usr/lib/python$*/ -depth -empty -delete touch $@ diff -u python-dmidecode-3.10.7/debian/control python-dmidecode-3.10.7/debian/control --- python-dmidecode-3.10.7/debian/control +++ python-dmidecode-3.10.7/debian/control @@ -5,7 +5,7 @@ Homepage: http://projects.autonomy.net.au/python-dmidecode Maintainer: Nima Talebi <n...@it.net.au> Build-Depends: debhelper (>= 7), python-support (>= 0.5.3), python, - python-all-dev (>= 2.3.5-11), python-all-dbg, electric-fence (>= 2), + python-all-dev (>= 2.5.4-2), python-all-dbg, electric-fence (>= 2), libxml2-dev, python-libxml2 Standards-Version: 3.8.3 diff -u python-dmidecode-3.10.7/debian/changelog python-dmidecode-3.10.7/debian/changelog --- python-dmidecode-3.10.7/debian/changelog +++ python-dmidecode-3.10.7/debian/changelog @@ -1,3 +1,10 @@ +python-dmidecode (3.10.7-22) lucid; urgency=low + + * Add --install-layout=deb to debian/rules setup.py install to prevent + files from landing in /usr/local + + -- Scott Kitterman <sc...@kitterman.com> Tue, 05 Jan 2010 22:02:29 -0500 + python-dmidecode (3.10.7-1.1) unstable; urgency=low * Non-maintainer upload.