--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
 
- Subject: unblock: libdumbnet/1.12-5
 
- From: Bernd Zeimetz <bzed@debian.org>
 
- Date: Fri, 30 Jan 2015 23:20:53 +0100
 
- Message-id: <20150130222053.24328.26316.reportbug@think.bzed.org>
 
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package libdumbnet
Just did a QA upload fixing #775896 - I've reverted the descision to
make /usr/share/doc/libdumnet-dev a symlink. Diff attached.
unblock libdumbnet/1.12-5
thanks,
bernd
-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F
diff -u libdumbnet-1.12/debian/rules libdumbnet-1.12/debian/rules
--- libdumbnet-1.12/debian/rules
+++ libdumbnet-1.12/debian/rules
@@ -58,7 +58,7 @@
 	dh_testroot
 	$(MAKE) DESTDIR=$$(pwd)/debian/libdumbnet1 install
 	mkdir -p debian/libdumbnet-dev/usr/lib \
-	         debian/libdumbnet-dev/usr/share/doc \
+	         debian/libdumbnet-dev/usr/share/doc/libdumbnet-dev \
 	         debian/libdumbnet-dev/usr/share/man/man1
 	mkdir -p debian/python-dumbnet/usr/lib
 	mv debian/libdumbnet1/usr/include \
@@ -74,10 +74,11 @@
 	    debian/python-dumbnet/usr/lib
 	cp debian/dumbnet-config.1 debian/libdumbnet-dev/usr/share/man/man1/
 	ln -s dumbnet-config.1 debian/libdumbnet-dev/usr/share/man/man1/dnet-config.1
-	ln -s libdumbnet1 debian/libdumbnet-dev/usr/share/doc/libdumbnet-dev
+	ln -s ../libdumbnet1 debian/libdumbnet-dev/usr/share/doc/libdumbnet-dev/docs
 	ln -s dumbnet-config debian/libdumbnet-dev/usr/bin/dnet-config
 	dh_installchangelogs
-	dh_installdocs TODO README
+	dh_installdocs -plibdumbnet1 TODO README
+	dh_installdocs -Nlibdumbnet1
 	dh_python2 -ppython-dumbnet
 	for E in debian/python-dumbnet/usr/lib/python*; do \
 	  rm -f $$E/site-packages/*egg-info; \
diff -u libdumbnet-1.12/debian/changelog libdumbnet-1.12/debian/changelog
--- libdumbnet-1.12/debian/changelog
+++ libdumbnet-1.12/debian/changelog
@@ -1,3 +1,11 @@
+libdumbnet (1.12-5) unstable; urgency=medium
+
+  * QA upload.
+  * Fix missing doc folder during upgrades
+    (Closes: #775896)
+
+ -- Bernd Zeimetz <bzed@debian.org>  Fri, 30 Jan 2015 22:53:35 +0100
+
 libdumbnet (1.12-4) unstable; urgency=low
 
   * QA upload.
only in patch2:
unchanged:
--- libdumbnet-1.12.orig/debian/preinst
+++ libdumbnet-1.12/debian/preinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+    install|upgrade)
+        # dpkg does not replace directories by symlinks or vice versa.
+        if [ -L /usr/share/doc/libdumbnet-dev ]; then
+                rm -f /usr/share/doc/libdumbnet-dev
+        fi
+    ;;
+    abort-upgrade)
+    ;;
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- End Message ---
--- Begin Message ---
- To: Bernd Zeimetz <bzed@debian.org>, 776675-done@bugs.debian.org
 
- Subject: Re: Bug#776675: unblock: libdumbnet/1.12-5
 
- From: Niels Thykier <niels@thykier.net>
 
- Date: Wed, 04 Feb 2015 20:29:15 +0100
 
- Message-id: <54D2730B.6020103@thykier.net>
 
- In-reply-to: <20150130222053.24328.26316.reportbug@think.bzed.org>
 
- References: <20150130222053.24328.26316.reportbug@think.bzed.org>
 
On 2015-01-30 23:20, Bernd Zeimetz wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package libdumbnet
> 
> Just did a QA upload fixing #775896 - I've reverted the descision to
> make /usr/share/doc/libdumnet-dev a symlink. Diff attached.
> 
> unblock libdumbnet/1.12-5
> 
> 
> thanks,
> 
> bernd
> 
Unblocked, thanks.
~Niels
--- End Message ---