Hi All I need a bit of guidance on the best way to apply the fix for bug 759943 (see [0]).
Basically mod-wsgi 3.3 is not compatible with Python 3.2; this is being worked on upstream for version 4.0. The upstream developer has provided a patch based on trunk that should resolve the compatibility issues and allow support for Python 3.2; but he has recommended that it only be applied for the python 3.2 version of this Apache module. All of the versions are built from the same source package; I have made a change to debian/rules to apply the patch for the python 3.2 build only: build-%/config.status: dh_testdir [ $* = 3.2 ] && patch -p1 < debian/patches/python-3.2-compat.patch \ || true mkdir -p build-$* cp *.in *.c configure build-$*/ cd build-$* && ./configure --with-apxs=$(APXS2) \ --with-python=/usr/bin/python$* [ $* = 3.2 ] && patch -p1 -R < debian/patches/python-3.2-compat.patch \ || true However I appreciate that this is not compliant with format 3.0 (quilt) and is specific to this package. I have considered the following options: 1) Dropping format 3.0 (quilt) - its not technically required. 2) Having a separate source package for this fix. 3) Sticking with format 3.0 (quilt) and reworking the patch to put the conditionality into the code. Option 1) would be quickest but is this the best way of resolving this issue? Help/guidance/opinion much appreciated. Cheers James [0] http://pad.lv/759943 -- James Page Software Engineer, Ubuntu Server Team
signature.asc
Description: This is a digitally signed message part
-- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss