python2.7 is the default in ubuntu's natty, don't consider 2.6 only and update comment. Closes #70382

authorSylvain Thénault <sylvain.thenault@logilab.fr>
changeset600ed78f9b5a
branchdefault
phasepublic
hiddenno
parent revision#37206cda878e backport stable
child revision#4132294c7d2a backport stable changes
files modified by this revision
debian/rules
# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1310388787 -7200
# Mon Jul 11 14:53:07 2011 +0200
# Node ID 600ed78f9b5a23f1f3a3a953ab36e9a596c04db0
# Parent 37206cda878ecfd56e7929c2b96580bee88cebd7
python2.7 is the default in ubuntu's natty, don't consider 2.6 only and update comment. Closes #70382

diff --git a/debian/rules b/debian/rules
@@ -40,14 +40,14 @@
1  	NO_SETUPTOOLS=1 python setup.py -q install --prefix=/usr --no-compile \
2  		--root=$(CURDIR)/debian/python-logilab-database/ \
3  		--install-layout=deb
4  	# remove sub-package __init__ file (created in postinst)
5  	rm -f debian/python-logilab-database/usr/lib/python*/site-packages/logilab/__init__.py
6 -	rm -f debian/python-logilab-database/usr/lib/python2.6/dist-packages/logilab/__init__.py #karmic
7 +	rm -f debian/python-logilab-database/usr/lib/python*/dist-packages/logilab/__init__.py # python >= 2.6
8  	# remove test directory
9  	rm -rf debian/python-logilab-database/usr/lib/python*/site-packages/logilab/database/test
10 -	rm -rf debian/python-logilab-database/usr/lib/python*/dist-packages/logilab/database/test #karmic
11 +	rm -rf debian/python-logilab-database/usr/lib/python*/dist-packages/logilab/database/test # python >= 2.6
12 
13  # Build architecture-independent files here.
14  binary-indep: build install
15  	dh_testdir
16  	dh_testroot