Control: tags 752465 + patch
Control: tags 752830 + patch

Dear gdbm maintainer,

I intend to NMU gdbm to fix bugs #752465 and #752830. Please find the
proposed changes attached. Note that even after applying this patch,
gdbm is not binNMU-able, because it does not use dh_installchangelogs
which would split of binary-only entries to architecture-specific
changelogs.

If you rather want to deal with these issues yourself, please tell me.

Helmut
diff -Nru gdbm-1.8.3/debian/changelog gdbm-1.8.3/debian/changelog
--- gdbm-1.8.3/debian/changelog 2013-06-02 01:43:11.000000000 +0200
+++ gdbm-1.8.3/debian/changelog 2014-06-27 20:02:27.000000000 +0200
@@ -1,3 +1,11 @@
+gdbm (1.8.3-12.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload. Closes: #752465
+  * Move documentation from libgdbm3 to libgdbm-dev to comply with policy 8.2.
+    Closes: #752830
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 27 Jun 2014 19:59:37 +0200
+
 gdbm (1.8.3-12) unstable; urgency=low
 
   * Fix texinfo errors
diff -Nru gdbm-1.8.3/debian/rules gdbm-1.8.3/debian/rules
--- gdbm-1.8.3/debian/rules     2013-06-02 00:53:48.000000000 +0200
+++ gdbm-1.8.3/debian/rules     2014-06-27 19:59:31.000000000 +0200
@@ -76,8 +76,11 @@
        $(STRIP) --strip-unneeded debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so*
        chmod 644 debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.so*
 
-       $(compress) debian/tmp/usr/share/info/*
-       $(compress) debian/tmp/usr/share/man/man3/*
+       rm -f debian/tmp/usr/share/info/gdbm.info
+       rmdir debian/tmp/usr/share/info/
+       rm -f debian/tmp/usr/share/man/man3/gdbm.3
+       rmdir debian/tmp/usr/share/man/man3
+       rmdir debian/tmp/usr/share/man
 
        $(install_dir) debian/tmp/DEBIAN
        $(install_file) debian/shlibs debian/tmp/DEBIAN/
@@ -117,7 +120,9 @@
        # libc6 owns ndbm.h, but some apps want gdbm's
        mv debian/tmp/usr/include/ndbm.h debian/tmp/usr/include/gdbm-ndbm.h
 
-       rm -f debian/tmp/usr/share/man/man3/gdbm.3
+       $(compress) debian/tmp/usr/share/info/*
+       $(compress) debian/tmp/usr/share/man/man3/*
+
        cd debian/tmp/usr/share/man/man3 ; \
            for i in dbm gdbm_error gdbm_errno gdbm_open \
                    gdbm_close gdbm_store gdbm_fetch gdbm_delete \
@@ -132,9 +137,6 @@
                ln -s gdbm.3.gz $$i.3.gz ; \
            done
 
-       rm -f debian/tmp/usr/share/info/gdbm.info
-       rmdir debian/tmp/usr/share/info/
-
        $(install_dir) debian/tmp/DEBIAN/
 
        $(install_dir) debian/tmp/usr/share/doc/libgdbm-dev/

Reply via email to