Control: tags 687869 + patch
Control: tags 687886 + patch

Hi

The attached patch should fix this issue. I'm only attaching the patch
but have not done any further action. Sebastian do you have time to do
the upload?

Regards,
Salvatore
diff -Nru libgsm0710-1.2.2/debian/changelog libgsm0710-1.2.2/debian/changelog
--- libgsm0710-1.2.2/debian/changelog	2012-05-25 20:26:48.000000000 +0200
+++ libgsm0710-1.2.2/debian/changelog	2012-09-22 09:14:01.000000000 +0200
@@ -1,3 +1,15 @@
+libgsm0710 (1.2.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace documentation directory with symlink.
+    Replace documentation directory for libgsm0710-dbg and libgsm0710-dev
+    with a symlink. When updating from Squeeze to Wheezy
+    /usr/share/doc/libgsm0710-dbg and /usr/share/doc/libgsm0710-dev resulted
+    in empty directories with no copyright file (which is violating Debian
+    policy 10.5). (Closes: #687869, #687886)
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Sat, 22 Sep 2012 09:13:53 +0200
+
 libgsm0710 (1.2.2-1) unstable; urgency=low
 
   [ Simon Busch ]
diff -Nru libgsm0710-1.2.2/debian/libgsm0710-dbg.postinst libgsm0710-1.2.2/debian/libgsm0710-dbg.postinst
--- libgsm0710-1.2.2/debian/libgsm0710-dbg.postinst	1970-01-01 01:00:00.000000000 +0100
+++ libgsm0710-1.2.2/debian/libgsm0710-dbg.postinst	2012-09-22 09:14:01.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/libgsm0710-dbg"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf libgsm0710-0 $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff -Nru libgsm0710-1.2.2/debian/libgsm0710-dev.postinst libgsm0710-1.2.2/debian/libgsm0710-dev.postinst
--- libgsm0710-1.2.2/debian/libgsm0710-dev.postinst	1970-01-01 01:00:00.000000000 +0100
+++ libgsm0710-1.2.2/debian/libgsm0710-dev.postinst	2012-09-22 09:14:01.000000000 +0200
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/libgsm0710-dev"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf libgsm0710-0 $docdir
+    fi
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to