Jean-Michel Nirgal Vourgère:
> This problem was introduced in commit 27848, where d/rules target
> override_dh_installdocs got an extraneous dh_installdocs: The second one
> try to make the link but fails because the first one created a directory
> with that name.

Actually, there is a problem when uploading from version -6 in my
proposal above. That version is not in wheezy and probably will not be
in jessie either, so this is not a big deal. But to do things properly,
one need to use a maintscript with a dir_to_symlink.

I tested fresh installs and upgrades both from -6 and straight from -5.
I could not detect any problem with dir_to_symlink when there is already
a symlink, like in -5. :)

I updated the version on mentors. See previous mail.
diff -Nru pyogg-1.3+repack/debian/changelog pyogg-1.3+repack/debian/changelog
--- pyogg-1.3+repack/debian/changelog	2014-02-22 12:10:10.000000000 +0100
+++ pyogg-1.3+repack/debian/changelog	2014-12-21 02:28:55.000000000 +0100
@@ -1,3 +1,14 @@
+pyogg (1.3+repack-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/rules: Remove extraneous dh_installdocs; Closes: #773191
+  * Support upgrades from 1.3+repack-6 where
+    /usr/share/doc/python-ogg-dbg is not a link:
+    - New python-ogg-dbg.maintscript
+    - d/control: Add Pre-Depends: $misc for maintscript
+
+ -- Jean-Michel Nirgal Vourgère <jmv_...@nirgal.com>  Sun, 21 Dec 2014 02:26:17 +0100
+
 pyogg (1.3+repack-6) unstable; urgency=low
 
   [ Sandro Tosi ]
diff -Nru pyogg-1.3+repack/debian/control pyogg-1.3+repack/debian/control
--- pyogg-1.3+repack/debian/control	2014-02-22 11:47:36.000000000 +0100
+++ pyogg-1.3+repack/debian/control	2014-12-21 02:25:56.000000000 +0100
@@ -22,6 +22,7 @@
 Architecture: any
 Section: debug
 Priority: extra
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, python-ogg (= ${binary:Version}), python-dbg, ${shlibs:Depends}
 Description: Python interface to the Ogg library (debug extension)
  This module makes the libogg (Ogg) functions available
diff -Nru pyogg-1.3+repack/debian/python-ogg-dbg.maintscript pyogg-1.3+repack/debian/python-ogg-dbg.maintscript
--- pyogg-1.3+repack/debian/python-ogg-dbg.maintscript	1970-01-01 01:00:00.000000000 +0100
+++ pyogg-1.3+repack/debian/python-ogg-dbg.maintscript	2014-12-21 02:25:14.000000000 +0100
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/python-ogg-dbg python-ogg 1.3+repack-6.1~
diff -Nru pyogg-1.3+repack/debian/rules pyogg-1.3+repack/debian/rules
--- pyogg-1.3+repack/debian/rules	2014-02-22 11:47:36.000000000 +0100
+++ pyogg-1.3+repack/debian/rules	2014-12-21 01:03:20.000000000 +0100
@@ -44,5 +44,4 @@
 endif
 
 override_dh_installdocs:
-	dh_installdocs
 	dh_installdocs -A --link-doc=python-ogg

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to