r36714 - in /desktop/unstable/pygobject/debian: changelog python-gi-dbg.preinst python-gobject-dbg.preinst rules
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Thu Feb 21 17:22:08 UTC 2013
Author: biebl
Date: Thu Feb 21 17:22:07 2013
New Revision: 36714
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36714
Log:
Stop using a doc symlink for the dbg package. The space savings are
neglibile and they are prone to cause problems. In case of
python-gobject-dbg, which was converted to a transitional package, the
symlink was mistakenly converted to a real directory which isn't handled
nicely by dpkg. Closes: #700779
Added:
desktop/unstable/pygobject/debian/python-gi-dbg.preinst
desktop/unstable/pygobject/debian/python-gobject-dbg.preinst
Modified:
desktop/unstable/pygobject/debian/changelog
desktop/unstable/pygobject/debian/rules
Modified: desktop/unstable/pygobject/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygobject/debian/changelog?rev=36714&op=diff
==============================================================================
--- desktop/unstable/pygobject/debian/changelog [utf-8] (original)
+++ desktop/unstable/pygobject/debian/changelog [utf-8] Thu Feb 21 17:22:07 2013
@@ -1,8 +1,16 @@
pygobject (3.2.2-2) UNRELEASED; urgency=low
+ [ Josselin Mouette ]
* Enable again gtk3 on m68k.
* Add missing dependency python3-gi-cairo → python3-gi.
Closes: #673213.
+
+ [ Michael Biebl ]
+ * Stop using a doc symlink for the dbg package. The space savings are
+ neglibile and they are prone to cause problems. In case of
+ python-gobject-dbg, which was converted to a transitional package, the
+ symlink was mistakenly converted to a real directory which isn't handled
+ nicely by dpkg. Closes: #700779
-- Josselin Mouette <joss at debian.org> Fri, 22 Jun 2012 20:52:29 +0200
Added: desktop/unstable/pygobject/debian/python-gi-dbg.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygobject/debian/python-gi-dbg.preinst?rev=36714&op=file
==============================================================================
--- desktop/unstable/pygobject/debian/python-gi-dbg.preinst (added)
+++ desktop/unstable/pygobject/debian/python-gi-dbg.preinst [utf-8] Thu Feb 21 17:22:07 2013
@@ -1,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 3.2.2-2; then
+ if [ -L /usr/share/doc/python-gi-dbg ]; then
+ rm -f /usr/share/doc/python-gi-dbg
+ fi
+fi
+
+#DEBHELPER#
Added: desktop/unstable/pygobject/debian/python-gobject-dbg.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygobject/debian/python-gobject-dbg.preinst?rev=36714&op=file
==============================================================================
--- desktop/unstable/pygobject/debian/python-gobject-dbg.preinst (added)
+++ desktop/unstable/pygobject/debian/python-gobject-dbg.preinst [utf-8] Thu Feb 21 17:22:07 2013
@@ -1,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 3.2.2-2; then
+ if [ -L /usr/share/doc/python-gobject-dbg ]; then
+ rm -f /usr/share/doc/python-gobject-dbg
+ fi
+fi
+
+#DEBHELPER#
Modified: desktop/unstable/pygobject/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/pygobject/debian/rules?rev=36714&op=diff
==============================================================================
--- desktop/unstable/pygobject/debian/rules [utf-8] (original)
+++ desktop/unstable/pygobject/debian/rules [utf-8] Thu Feb 21 17:22:07 2013
@@ -196,8 +196,6 @@
dh_strip -ppython-gi --dbg-package=python-gi-dbg
dh_strip -ppython-gi-cairo --dbg-package=python-gi-dbg
dh_strip -ppython3-gi --dbg-package=python3-gi-dbg
- rm -rf debian/python-gi-dbg/usr/share/doc/python-gi-dbg
- ln -sf python-gi debian/python-gi-dbg/usr/share/doc/python-gi-dbg
dh_link -s
dh_compress -s -X.py
dh_fixperms -s
More information about the pkg-gnome-commits
mailing list