diff -Nru tdb-1.2.10/debian/changelog tdb-1.2.10/debian/changelog --- tdb-1.2.10/debian/changelog 2012-05-28 12:40:10.000000000 +0000 +++ tdb-1.2.10/debian/changelog 2013-01-29 15:35:24.000000000 +0000 @@ -1,3 +1,10 @@ +tdb (1.2.10-2ubuntu1) raring; urgency=low + + * Fix FTBFS: use shebang for python2.x-config instead of assuming that it is + a Python script (LP: #1108983). + + -- Robie Basak Tue, 29 Jan 2013 15:34:41 +0000 + tdb (1.2.10-2) unstable; urgency=high [ Ivo De Decker ] diff -Nru tdb-1.2.10/debian/control tdb-1.2.10/debian/control --- tdb-1.2.10/debian/control 2012-05-28 12:40:10.000000000 +0000 +++ tdb-1.2.10/debian/control 2013-01-29 15:35:31.000000000 +0000 @@ -1,7 +1,8 @@ Source: tdb Section: devel Priority: optional -Maintainer: Jelmer Vernooij +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jelmer Vernooij Build-Depends: debhelper (>= 8.1.3), docbook-xml, docbook-xsl, diff -Nru tdb-1.2.10/debian/patches/50_python_config_shebang.diff tdb-1.2.10/debian/patches/50_python_config_shebang.diff --- tdb-1.2.10/debian/patches/50_python_config_shebang.diff 1970-01-01 00:00:00.000000000 +0000 +++ tdb-1.2.10/debian/patches/50_python_config_shebang.diff 2013-01-29 15:33:02.000000000 +0000 @@ -0,0 +1,17 @@ +Author: Jelmer Vernooij +Subject: wafsamba: python-config is not always a script. +Origin: upstream, http://gitweb.samba.org/?p=samba.git;a=commit;h=e1a819ea18aa3ecfcddb76ec681f520db162338e +Bug-Ubuntu: https://launchpad.net/bugs/1108983 +Last-Update: 2013-01-29 + +--- a/buildtools/wafadmin/Tools/python.py ++++ b/buildtools/wafadmin/Tools/python.py +@@ -259,7 +259,7 @@ + + includes = [] + if python_config: +- for incstr in Utils.cmd_output("%s %s --includes" % (python, python_config)).strip().split(): ++ for incstr in Utils.cmd_output("%s --includes" % (python_config,)).strip().split(): + # strip the -I or /I + if (incstr.startswith('-I') + or incstr.startswith('/I')): diff -Nru tdb-1.2.10/debian/patches/series tdb-1.2.10/debian/patches/series --- tdb-1.2.10/debian/patches/series 2012-05-28 12:40:10.000000000 +0000 +++ tdb-1.2.10/debian/patches/series 2013-01-29 14:50:08.000000000 +0000 @@ -1,2 +1,3 @@ 30_tdb_logging_func.diff 40_test_transaction_expand_non_fatal.diff +50_python_config_shebang.diff