From 4f199b441546c835efcb1db4a9551ff1d02f6333 Mon Sep 17 00:00:00 2001
From: Matthias Klose <doko@timbuktu>
Date: Mon, 17 May 2010 12:59:20 +0200
Subject: [PATCH] package version python-defaults-2.5.2-1

---
 debian/changelog          | 12 ++++++++++++
 debian/python.postinst.in |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 908111b..b2cf95c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+python-defaults (2.5.2-1) unstable; urgency=low
+
+  * Maintainer upload; asking the Release Team to better coordinate
+    things. Being in contact with two members of the release team for
+    two or three weeks when to upload without getting in the way of
+    other transitions, an unannounced upload of a third member of this
+    team is at least surprising.
+  * debian/python.postinst.in: Fix the bug introduced in the NMU, run the
+    rtupdate hooks when upgrading from a version < 2.5.2-1. Closes: #476095.
+
+ -- Matthias Klose <doko@debian.org>  Thu, 17 Apr 2008 20:32:59 +0200
+
 python-defaults (2.5.2-0.1) unstable; urgency=low
 
   * NMU by the Release Team not to lose the sweet spot for the Python
diff --git a/debian/python.postinst.in b/debian/python.postinst.in
index 561dcbe..035d1bd 100644
--- a/debian/python.postinst.in
+++ b/debian/python.postinst.in
@@ -14,7 +14,7 @@ case "$1" in
 	[ -d /etc/python ] || mkdir /etc/python
 	[ -f /etc/python/debian_config ] || new_config_file
 
-        if [ -n "$2" ] && dpkg --compare-versions $2 lt 2.4; then
+        if [ -n "$2" ] && dpkg --compare-versions $2 lt 2.5.2-1; then
 	    oldv=$(echo $2 | sed 's/^\(...\).*/\1/')
 	    if [ "$DEBIAN_FRONTEND" != noninteractive ]; then
 		echo "running python rtupdate hooks for @PVER@..."
-- 
GitLab