Source: bup
Version: 0.20-1.1
Severity: serious
Justification: Debian Policy 3.5, Python Policy 3.1.1
Tags: patch
bup builds a private Python extension[0]. Such extensions are normally
not binary compatible across different Python versions, so the package
must declare tight dependency on the version for which the extension was
built. The attached patch fixes this bug.
[0] $ dpkg -c bup_0.20-1.1_i386.deb | grep -F .so
-rw-r--r-- root/root 8264 2011-01-01 16:31 ./usr/lib/bup/bup/_helpers.so
--
Jakub Wilk
diff -Nru bup-0.20/debian/control bup-0.20/debian/control
--- bup-0.20/debian/control 2010-12-18 00:42:41.0 +0100
+++ bup-0.20/debian/control 2011-01-01 16:28:05.0 +0100
@@ -2,7 +2,7 @@
Section: admin
Priority: extra
Maintainer: Jon Dowland j...@debian.org
-Build-Depends: debhelper (= 7.0.50~), pandoc, python-dev,
+Build-Depends: debhelper (= 7.0.50~), pandoc, python-dev, python-support,
git (= 1:1.7.0.4-2) | git-core
Standards-Version: 3.9.1
Homepage: http://github.com/apenwarr/bup
@@ -11,7 +11,7 @@
Package: bup
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends},
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
python, git (= 1:1.7.0.4-2) | git-core, python-fuse,
python-tornado (= 1.0.1-1)
Recommends: par2