r2878 - in zope.interface/trunk/debian (5 files)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Thu Nov 13 21:20:52 UTC 2014
Date: Thursday, November 13, 2014 @ 21:20:51
Author: barry
Revision: 2878
Added d/python{,3}-zope.interface-dbg.maintscript so that the switch
from symlinks to directories in /usr/share/doc is done correctly.
Removed d/python-zope.interface-dbg.postinst which was an incomplete
way of doing this.
(Closes: #768286)
Added:
zope.interface/trunk/debian/python-zope.interface-dbg.maintscript
zope.interface/trunk/debian/python3-zope.interface-dbg.maintscript
Modified:
zope.interface/trunk/debian/changelog
zope.interface/trunk/debian/rules
Deleted:
zope.interface/trunk/debian/python-zope.interface-dbg.postinst
Modified: zope.interface/trunk/debian/changelog
===================================================================
--- zope.interface/trunk/debian/changelog 2014-11-12 08:09:41 UTC (rev 2877)
+++ zope.interface/trunk/debian/changelog 2014-11-13 21:20:51 UTC (rev 2878)
@@ -1,3 +1,13 @@
+zope.interface (4.1.1-3) UNRELEASED; urgency=medium
+
+ * Added d/python{,3}-zope.interface-dbg.maintscript so that the switch
+ from symlinks to directories in /usr/share/doc is done correctly.
+ Removed d/python-zope.interface-dbg.postinst which was an incomplete
+ way of doing this.
+ (Closes: #768286)
+
+ -- Barry Warsaw <barry at debian.org> Thu, 13 Nov 2014 14:05:05 -0500
+
zope.interface (4.1.1-2) unstable; urgency=medium
* Simplify DEP-8 tests so that they just ensure that the package is
Added: zope.interface/trunk/debian/python-zope.interface-dbg.maintscript
===================================================================
--- zope.interface/trunk/debian/python-zope.interface-dbg.maintscript (rev 0)
+++ zope.interface/trunk/debian/python-zope.interface-dbg.maintscript 2014-11-13 21:20:51 UTC (rev 2878)
@@ -0,0 +1,10 @@
+# In Wheezy, this directory was a symlink, but in Jessie it's been switched to
+# a directory. See dpkg-maintscript-helper(1) and bug #768286 for details.
+if dpkg-maintscript-helper supports symlink_to_dir; then
+ dpkg-maintscript-helper \
+ symlink_to_dir \
+ /usr/share/doc/python-zope.interface-dbg \
+ python-zope.interface \
+ 4.1.1-3~ \
+ -- "$@"
+fi
Property changes on: zope.interface/trunk/debian/python-zope.interface-dbg.maintscript
___________________________________________________________________
Added: svn:executable
+ *
Deleted: zope.interface/trunk/debian/python-zope.interface-dbg.postinst
===================================================================
--- zope.interface/trunk/debian/python-zope.interface-dbg.postinst 2014-11-12 08:09:41 UTC (rev 2877)
+++ zope.interface/trunk/debian/python-zope.interface-dbg.postinst 2014-11-13 21:20:51 UTC (rev 2878)
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "configure" ]; then
- DOC_DIR="/usr/share/doc/python-zope.interface-dbg"
- if [ -d "$DOC_DIR" -a ! -L "$DOC_DIR" ] && rmdir "$DOC_DIR" 2> /dev/null; then
- ln -sf /usr/share/doc/python-zope.interface "$DOC_DIR"
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
Added: zope.interface/trunk/debian/python3-zope.interface-dbg.maintscript
===================================================================
--- zope.interface/trunk/debian/python3-zope.interface-dbg.maintscript (rev 0)
+++ zope.interface/trunk/debian/python3-zope.interface-dbg.maintscript 2014-11-13 21:20:51 UTC (rev 2878)
@@ -0,0 +1,10 @@
+# In Wheezy, this directory was a symlink, but in Jessie it's been switched to
+# a directory. See dpkg-maintscript-helper(1) and bug #768286 for details.
+if dpkg-maintscript-helper supports symlink_to_dir; then
+ dpkg-maintscript-helper \
+ symlink_to_dir \
+ /usr/share/doc/python3-zope.interface-dbg \
+ python3-zope.interface \
+ 4.1.1-3~ \
+ -- "$@"
+fi
Property changes on: zope.interface/trunk/debian/python3-zope.interface-dbg.maintscript
___________________________________________________________________
Added: svn:executable
+ *
Modified: zope.interface/trunk/debian/rules
===================================================================
--- zope.interface/trunk/debian/rules 2014-11-12 08:09:41 UTC (rev 2877)
+++ zope.interface/trunk/debian/rules 2014-11-13 21:20:51 UTC (rev 2878)
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=zope.interface
+#export DH_VERBOSE=1
%:
dh $@ --with python2,python3 --buildsystem=pybuild
More information about the pkg-zope-developers
mailing list