From eeb0859e945a8c0533b52dbfcd087b3a5d3df560 Mon Sep 17 00:00:00 2001
From: Scott Kitterman <scott@kitterman.com>
Date: Wed, 21 Mar 2012 18:42:42 -0400
Subject: [PATCH]   * Move idle.xpm symlink from python to idle and add
 Replaces

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

diff --git a/debian/changelog b/debian/changelog
index 9741ad4..fa8eec6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ 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
 
- -- Scott Kitterman <scott@kitterman.com>  Tue, 14 Feb 2012 23:03:44 -0500
+ -- Scott Kitterman <scott@kitterman.com>  Wed, 21 Mar 2012 18:40:43 -0400
 
 python-defaults (2.7.2-10) unstable; urgency=low
 
diff --git a/debian/control.in b/debian/control.in
index 8d9b3ae..6b3fa4d 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -66,6 +66,7 @@ Package: idle
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-tk (>= 2.4.3-3), idle-@PVER@
 Enhances: python
+Replaces: 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.
diff --git a/debian/rules b/debian/rules
index 0307e91..33bdd35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -264,7 +264,7 @@ endif
 	install -m 644 debian/idle.1 debian/idle/usr/share/man/man1/idle.1
 
 	mkdir -p debian/idle/usr/share/pixmaps
-	ln -sf python.xpm debian/python/usr/share/pixmaps/idle.xpm
+	ln -sf python.xpm debian/idle/usr/share/pixmaps/idle.xpm
 
 	mkdir -p debian/idle/usr/share/applications
 	cp -p debian/idle.desktop debian/idle/usr/share/applications/
-- 
GitLab