From d968e97025aca7e0a92c80b485a8f93b4b34b031 Mon Sep 17 00:00:00 2001
From: Matthias Klose <doko@debian.org>
Date: Wed, 16 Jun 2010 10:51:46 +0200
Subject: [PATCH]   * Don't allow installation of a mix of defaults packages
 for different     python versions. Closes: #583683.

---
 debian/changelog  | 2 ++
 debian/control    | 2 +-
 debian/control.in | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9c0a51e..b2d4730 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ python-defaults (2.6.5-2) UNRELEASED; urgency=low
 
   [ Matthias Klose ]
   * Depend on python2.6 version including the fix for issue #8223.
+  * Don't allow installation of a mix of defaults packages for different
+    python versions. Closes: #583683.
 
  -- Matthias Klose <doko@debian.org>  Wed, 16 Jun 2010 09:19:55 +0200
 
diff --git a/debian/control b/debian/control
index bc81a7b..37f5a77 100644
--- a/debian/control
+++ b/debian/control
@@ -31,7 +31,7 @@ Depends: python2.6-minimal (>= 2.6.5+20100616-1~), dpkg (>= 1.13.20)
 Conflicts: python (<= 2.4-1), python-central (<< 0.5.5)
 Replaces: python (<= 2.4-1)
 Recommends: python
-Breaks: python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
+Breaks: 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-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
 Description: A 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/control.in b/debian/control.in
index 089126a..d8aa53e 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -31,7 +31,7 @@ Depends: @PVER@-minimal (>= @PREVVER@), dpkg (>= 1.13.20)
 Conflicts: python (<= 2.4-1), python-central (<< 0.5.5)
 Replaces: python (<= 2.4-1)
 Recommends: python
-Breaks: python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
+Breaks: 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-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
 Description: A 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.
-- 
GitLab