[Build-common-hackers] Bug#307342: cdbs: python-distutils.mk should use python compile version on clean
Bastian Kleineidam
Bastian Kleineidam <calvin@debian.org>, 307342@bugs.debian.org
Mon, 2 May 2005 18:16:41 +0200
Package: cdbs
Version: 0.4.28-1
Severity: normal
The DEB_PYTHON_COMPILE_VERSION should also be used in the clean
target. A patch is attached.
Regards,
Bastian
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-treasure2
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
-- no debconf information
--- /usr/share/cdbs/1/class/python-distutils.mk 2005-04-20 14:05:17.000000000 +0200
+++ python-distutils.mk 2005-05-02 13:16:19.595014110 +0200
@@ -58,7 +58,7 @@
clean::
# Ignore errors from this rule. In a tarball build, the file
# may not exist.
- -python $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
+ -python$(DEB_PYTHON_COMPILE_VERSION) $(DEB_PYTHON_SETUP_CMD) clean $(DEB_PYTHON_CLEAN_ARGS)
# See if this package doesn't appear to need to be compiled by multiple
# Python versions.