Package: distcc
Severity: normal
Tags: patch
Hi,
There is some python files in the distcc-pump binary, but the package
doesn't use python-support or python-central to handle them. This could
be problematic, for example when the python version will be changed to
python 2.6.
I attached a patch for the package to add the support of
python-support.
Thanks.
Regards,
Julien Lavergne
diff -u distcc-3.1/debian/changelog distcc-3.1/debian/changelog
--- distcc-3.1/debian/changelog
+++ distcc-3.1/debian/changelog
@@ -1,3 +1,14 @@
+distcc (3.1-1.1) unstable; urgency=low
+
+ * NMU
+ * debian/control:
+ - Add python-support to build-depends to handle python files.
+ - Replace python depends by ${python:Depends}.
+ * debian/rules: Add pysupport call.
+ * debian/pyversions: Add.
+
+ -- Julien Lavergne <[email protected]> Sat, 22 Aug 2009 13:14:50 +0200
+
distcc (3.1-1) unstable; urgency=low
* New upstream release
diff -u distcc-3.1/debian/rules distcc-3.1/debian/rules
--- distcc-3.1/debian/rules
+++ distcc-3.1/debian/rules
@@ -155,6 +155,7 @@
dh_fixperms
# dh_perl
# dh_python
+ dh_pysupport
dh_makeshlibs
dh_installdeb
dh_shlibdeps
diff -u distcc-3.1/debian/control distcc-3.1/debian/control
--- distcc-3.1/debian/control
+++ distcc-3.1/debian/control
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Carsten Wolff <[email protected]>
-Build-Depends: debhelper (>> 4.1.16), libpopt-dev, linuxdoc-tools, autoconf, libgtk2.0-dev, libgnomeui-dev, dpatch, po-debconf, python-dev
+Build-Depends: debhelper (>> 4.1.16), libpopt-dev, linuxdoc-tools, autoconf, libgtk2.0-dev, libgnomeui-dev, dpatch, po-debconf, python-dev, python-support (>= 0.90)
Standards-Version: 3.8.0
Package: distcc
@@ -35,7 +35,7 @@
Package: distcc-pump
Architecture: any
-Depends: ${shlibs:Depends}, distcc, python
+Depends: ${shlibs:Depends}, ${python:Depends}, distcc
Homepage: http://distcc.org/
Description: pump mode for distcc a distributed compiler client and server
distcc is a program to distribute compilation of C or C++ code across
only in patch2:
unchanged:
--- distcc-3.1.orig/debian/pyversions
+++ distcc-3.1/debian/pyversions
@@ -0,0 +1 @@
+2.5-