diff -u libtorrent-rasterbar-0.14.1/debian/control libtorrent-rasterbar-0.14.1/debian/control --- libtorrent-rasterbar-0.14.1/debian/control +++ libtorrent-rasterbar-0.14.1/debian/control @@ -40,7 +40,7 @@ Package: libtorrent-rasterbar-dev Section: libdevel Architecture: any -Depends: ${misc:Depends} +Depends: ${misc:Depends}, libtorrent-rasterbar1 (= ${binary:Version}), libboost1.35-dev, libboost-date-time1.35-dev, diff -u libtorrent-rasterbar-0.14.1/debian/rules libtorrent-rasterbar-0.14.1/debian/rules --- libtorrent-rasterbar-0.14.1/debian/rules +++ libtorrent-rasterbar-0.14.1/debian/rules @@ -22,7 +22,7 @@ --with-boost-thread=mt \ --with-boost-regex=mt \ --with-boost-program-options=mt \ - --with-boost-python=mt-py25 + --with-boost-python=mt-py26 build: build-stamp build-stamp: $(QUILT_STAMPFN) diff -u libtorrent-rasterbar-0.14.1/debian/changelog libtorrent-rasterbar-0.14.1/debian/changelog --- libtorrent-rasterbar-0.14.1/debian/changelog +++ libtorrent-rasterbar-0.14.1/debian/changelog @@ -1,3 +1,16 @@ +libtorrent-rasterbar (0.14.1-1ubuntu2) jaunty; urgency=low + + * debian/python-libtorrent.install: Check for site-packages and + dist-packages. + * debian/rules: Use boost mt-py26 + * debian/control: libtorrent-rasterbar missing-comma-after-substvar + * Added debian/patches/02_configure_python2.6_fix.patch + * Added 03_python_makefile.in_fix.patch + (Thanks to Siegfried-Angel Gevatter Pujals) + * Closes LP: #335741 + + -- Savvas Radevic Tue, 03 Mar 2009 17:35:42 +0100 + libtorrent-rasterbar (0.14.1-1ubuntu1) jaunty; urgency=low * Transition build-dep and -dev package dependsfrom libboost*-dev to diff -u libtorrent-rasterbar-0.14.1/debian/python-libtorrent.install libtorrent-rasterbar-0.14.1/debian/python-libtorrent.install --- libtorrent-rasterbar-0.14.1/debian/python-libtorrent.install +++ libtorrent-rasterbar-0.14.1/debian/python-libtorrent.install @@ -1 +1 @@ -usr/lib/python*/site-packages/libtorrent.so +usr/lib/python*/*-packages/libtorrent.so diff -u libtorrent-rasterbar-0.14.1/debian/patches/series libtorrent-rasterbar-0.14.1/debian/patches/series --- libtorrent-rasterbar-0.14.1/debian/patches/series +++ libtorrent-rasterbar-0.14.1/debian/patches/series @@ -1,0 +2,2 @@ +02_configure_python2.6_fix.patch +03_python_makefile.in_fix.patch only in patch2: unchanged: --- libtorrent-rasterbar-0.14.1.orig/debian/patches/03_python_makefile.in_fix.patch +++ libtorrent-rasterbar-0.14.1/debian/patches/03_python_makefile.in_fix.patch @@ -0,0 +1,11 @@ +--- libtorrent-rasterbar-0.14.1/bindings/python/Makefile.in~ 2008-11-30 01:42:35.000000000 +0100 ++++ libtorrent-rasterbar-0.14.1/bindings/python/Makefile.in 2009-03-03 22:56:00.000000000 +0100 +@@ -375,7 +375,7 @@ + @ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py build + + @ENABLE_PYTHON_BINDING_TRUE@install-exec-local: +-@ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) ++@ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) --install-layout=deb + + @ENABLE_PYTHON_BINDING_TRUE@uninstall-local: + @ENABLE_PYTHON_BINDING_TRUE@ rm -rf $(DESTDIR)$(libdir)/python*/site-packages/*libtorrent* only in patch2: unchanged: --- libtorrent-rasterbar-0.14.1.orig/debian/patches/02_configure_python2.6_fix.patch +++ libtorrent-rasterbar-0.14.1/debian/patches/02_configure_python2.6_fix.patch @@ -0,0 +1,11 @@ +--- libtorrent-rasterbar-0.14.1/configure~ 2009-03-03 21:42:01.000000000 +0100 ++++ libtorrent-rasterbar-0.14.1/configure 2009-03-03 22:04:34.000000000 +0100 +@@ -24793,7 +24793,7 @@ + echo $ECHO_N "checking for python build information... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: " >&5 + echo "${ECHO_T}" >&6; } +-for python in python2.5 python2.4 python2.3 python2.2 python2.1 python; do ++for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do + for ac_prog in $python + do + # Extract the first word of "$ac_prog", so it can be a program name with args.