Control: tags -1 patch

Hi,

On Thu, Apr 27, 2017 at 10:40:40AM +0200, Andreas Beckmann wrote:
> an upgrade test with piuparts revealed that your package installs files
> over existing symlinks and possibly overwrites files owned by other
> packages. This usually means an old version of the package shipped a
> symlink but that was later replaced by a real (and non-empty)
> directory. This kind of overwriting another package's files cannot be
> detected by dpkg.
> 
> This was observed on the following upgrade paths on i386:
> 
>   lenny -> squeeze -> wheezy -> jessie -> stretch

This issue, introduced during the lenny -> squeeze upgrade, can be fixed by
using symlink_to_dir. The attached patch should fix it.

Cheers,

Ivo

commit 603827e1eb88611a20fe36925fc49b6db3f960e5
Author: Ivo De Decker <[email protected]>
Date:   Sun Apr 30 17:24:33 2017 +0200

    Add python-cairo-dbg.maintscript

diff --git a/debian/changelog b/debian/changelog
index 80003e6..3f68c9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pycairo (1.8.8-2.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add python-cairo-dbg.maintscript to cleanup symlink left over from version
+    1.4.12-1.2 (lenny). (Closes: #861305)
+
+ -- Ivo De Decker <[email protected]>  Sun, 30 Apr 2017 17:22:42 +0200
+
 pycairo (1.8.8-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/python-cairo-dbg.maintscript b/debian/python-cairo-dbg.maintscript
new file mode 100644
index 0000000..b01e49e
--- /dev/null
+++ b/debian/python-cairo-dbg.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/python-cairo-dbg /usr/share/doc/python-cairo 1.8.8-2.2~
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to