r28367 - in /desktop/unstable/gnome-python/debian: changelog python-gnome2.postinst

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Wed Jun 8 14:42:49 UTC 2011


Author: mpitt
Date: Wed Jun  8 14:42:49 2011
New Revision: 28367

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=28367
Log:
debian/python-gnome2.postinst: Remove old __init__.py{,c} cruft from
pysupport, which causes bad imports after upgrades. (LP: #790613)

Modified:
    desktop/unstable/gnome-python/debian/changelog
    desktop/unstable/gnome-python/debian/python-gnome2.postinst

Modified: desktop/unstable/gnome-python/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-python/debian/changelog?rev=28367&op=diff
==============================================================================
--- desktop/unstable/gnome-python/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-python/debian/changelog [utf-8] Wed Jun  8 14:42:49 2011
@@ -9,6 +9,8 @@
     no-op for Debian.
   * debian/watch: Fix syntax to actually catch latest version. Also move to
     *.bz2, upstream does not release .gz tarballs any more.
+  * debian/python-gnome2.postinst: Remove old __init__.py{,c} cruft from
+    pysupport, which causes bad imports after upgrades. (LP: #790613)
 
  -- Josselin Mouette <joss at debian.org>  Mon, 25 Apr 2011 17:27:28 +0200
 

Modified: desktop/unstable/gnome-python/debian/python-gnome2.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-python/debian/python-gnome2.postinst?rev=28367&op=diff
==============================================================================
--- desktop/unstable/gnome-python/debian/python-gnome2.postinst [utf-8] (original)
+++ desktop/unstable/gnome-python/debian/python-gnome2.postinst [utf-8] Wed Jun  8 14:42:49 2011
@@ -7,5 +7,8 @@
         pouet \
         $(pyversions -d)
 
+# remove cruft from pysupport which breaks upgrades
+rm -f /usr/lib/pymodules/python2.*/gtk-2.0/gnome/__init__.py*
+
 #DEBHELPER#
 




More information about the pkg-gnome-commits mailing list