r1643 - in zope2.11/trunk/debian (changelog zopeZVER.preinst.in)

Jonas Meurer mejo at alioth.debian.org
Fri Jul 3 11:02:52 UTC 2009


    Date: Friday, July 3, 2009 @ 11:02:47
  Author: mejo
Revision: 1643

add pycentral cleanup code to zopeZVER.prerm.in

Modified:
  zope2.11/trunk/debian/changelog
  zope2.11/trunk/debian/zopeZVER.preinst.in

Modified: zope2.11/trunk/debian/changelog
===================================================================
--- zope2.11/trunk/debian/changelog	2009-07-03 02:08:24 UTC (rev 1642)
+++ zope2.11/trunk/debian/changelog	2009-07-03 11:02:47 UTC (rev 1643)
@@ -6,13 +6,15 @@
   * Don't delete lib/python/pytz/LICENSE.txt as it is not provided any longer.
   * Reorder targets and dependencies in debian/rules to actually support
     parallel building. Thanks to Lucas Nussbaum. Hopefully (closes: #534013)
-  * Migrate from python-central to python-support, add debian/pyversions,
-    remove debian/pycompat, add depends on ${python:Depends}.
+  * Migrate from python-central to python-support:
+    - add debian/pyversions, remove debian/pycompat
+    - add depends on ${python:Depends}
+    - add pycentral cleanup code to @zopeZVER.preinst.in
   * Exclude lib/python/RestrictedPython/tests and lib/python/mechanize from
     byte-compiling with dh_pysupport, as both include code for python2.5+ that
     fails to compile with python2.4.
 
- -- Jonas Meurer <mejo at debian.org>  Fri, 03 Jul 2009 03:58:24 +0200
+ -- Jonas Meurer <mejo at debian.org>  Fri, 03 Jul 2009 13:01:00 +0200
 
 zope2.11 (2.11.2-1) unstable; urgency=low
 

Modified: zope2.11/trunk/debian/zopeZVER.preinst.in
===================================================================
--- zope2.11/trunk/debian/zopeZVER.preinst.in	2009-07-03 02:08:24 UTC (rev 1642)
+++ zope2.11/trunk/debian/zopeZVER.preinst.in	2009-07-03 11:02:47 UTC (rev 1643)
@@ -11,6 +11,9 @@
 	if [ -h /usr/share/doc/zope at ZVER@ ]; then
 	    rm -f /usr/share/doc/zope at ZVER@
 	fi
+	if dpkg --compare-versions "$2" lt 2.11.3-1; then
+	    pycentral pkgremove zope2.11
+	fi
     ;;
 
     install)




More information about the pkg-zope-commits mailing list