From 230442c4c176d4f35a1da0948289392bb63f2966 Mon Sep 17 00:00:00 2001
From: Scott Kitterman <scott@kitterman.com>
Date: Thu, 22 Mar 2012 16:55:35 -0400
Subject: [PATCH] idle Break as well as Replaces python - Thanks to Jakub Wilk
 for pointing it out.

---
 debian/changelog  | 2 +-
 debian/control.in | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fa8eec6..cac95af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ 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 Replaces
+  * Move idle.xpm symlink from python to idle and add Breaks/Replaces
 
  -- Scott Kitterman <scott@kitterman.com>  Wed, 21 Mar 2012 18:40:43 -0400
 
diff --git a/debian/control.in b/debian/control.in
index 6b3fa4d..b7541a4 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -67,6 +67,7 @@ Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-tk (>= 2.4.3-3), idle-@PVER@
 Enhances: python
 Replaces: python (<< 2.7.2-11~)
+Breaks: python (<< 2.7.2-11~)
 Description: IDE for Python using Tkinter (default version)
  IDLE is an Integrated Development Environment for Python.
  IDLE is written using Tkinter and therefore quite platform-independent.
-- 
GitLab