From d8d7d7f9d04a822b786bb355b00d12e377e7c977 Mon Sep 17 00:00:00 2001 From: Scott Kitterman <scott@kitterman.com> Date: Wed, 18 Apr 2012 17:17:49 -0400 Subject: [PATCH] * Move /usr/bin/pyversions from python to python-minimal since that's where the actual script it's a symlink to lives, add Breaks/Replaces --- debian/changelog | 4 +++- debian/control | 4 ++-- debian/rules | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index cac95af..df9835b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ python-defaults (2.7.2-11) UNRELEASED; urgency=low * Bump minimum debhelper version to 8 so all tests will run - dh_python2 tests 1 - 5 require dh 7 and test 6 needs dh 8 * Move idle.xpm symlink from python to idle and add Breaks/Replaces + * Move /usr/bin/pyversions from python to python-minimal since that's where + the actual script it's a symlink to lives, add Breaks/Replaces - -- Scott Kitterman <scott@kitterman.com> Wed, 21 Mar 2012 18:40:43 -0400 + -- Scott Kitterman <scott@kitterman.com> Wed, 18 Apr 2012 17:09:28 -0400 python-defaults (2.7.2-10) unstable; urgency=low diff --git a/debian/control b/debian/control index d8c3bf7..0b3f63d 100644 --- a/debian/control +++ b/debian/control @@ -33,8 +33,8 @@ Priority: standard Depends: ${misc:Depends}, python2.7-minimal (>= 2.7.2-3~), dpkg (>= 1.13.20) Recommends: python Conflicts: python-central (<< 0.5.5) -Breaks: python (<= 2.4-1), python-dev (<< 2.6), python-dbg (<< 2.6), python-all (<< 2.6), python-all-dev (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6), python2.5-minimal (<< 2.5.5-7), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2), python-support (<< 1.0.10ubuntu2) -Replaces: python (<= 2.4-1) +Breaks: python (<< 2.7.2-11~), python-dev (<< 2.6), python-dbg (<< 2.6), python-all (<< 2.6), python-all-dev (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6), python2.5-minimal (<< 2.5.5-7), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2), python-support (<< 1.0.10ubuntu2) +Replaces: python (<< 2.7.2-11~ Description: minimal subset of the Python language (default version) This package contains the interpreter and some essential modules. It's used in the boot process for some basic tasks. diff --git a/debian/rules b/debian/rules index 33bdd35..1f94f9d 100755 --- a/debian/rules +++ b/debian/rules @@ -179,7 +179,7 @@ binary-indep: build install stamp-doc debian/python-minimal/usr/share/python/ install -m 644 debian/pyversions.1 \ debian/python-minimal/usr/share/man/man1/ - dh_link -ppython /usr/share/python/pyversions.py /usr/bin/pyversions + dh_link -ppython-minimal /usr/share/python/pyversions.py /usr/bin/pyversions # install -m 755 debian/pycompile \ # debian/python-minimal/usr/bin/ -- GitLab