Source: gdbm Followup-For: Bug #768798 Control: tag #768798 + patch Aníbal,
While I think to migrate to dh(1) would be a better option, I'm attaching a patch to install changelog files with dh_installchangelogs. It works in my machine. Cheers, Santiago
diff --git a/debian/changelog b/debian/changelog index e086411..0929432 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +gdbm (1.8.3-14.1) unstable; urgency=medium + + [Santiago R.R.] + * Non-maintainer upload. + * Changes needed to allow to install libgdbm3:i386 and libgdbm3:amd64 at the + same time. Closes: #768798 + * d/rules: Install changelog files with dh_installchangelogs. + * d/control: Add debhelper to Build-Deps. + * Add d/compat = 9 + + -- Santiago Ruano Rincón <santi...@debian.org> Thu, 13 Nov 2014 15:04:59 +0100 + gdbm (1.8.3-13) unstable; urgency=high [ Helmut Grohne ] diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control index 28c2429..5780268 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: libs Priority: important Maintainer: Anibal Monsalve Salazar <ani...@debian.org> Build-Depends: texinfo, libtool, automake, autoconf, autotools-dev, - dpkg-dev (>= 1.16.1~) + dpkg-dev (>= 1.16.1~), debhelper (>= 9) Standards-Version: 3.9.5 Homepage: http://directory.fsf.org/project/gdbm/ diff --git a/debian/rules b/debian/rules index ede5a78..3299e4a 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,8 @@ # paternity under the Copyright, Designs and Patents Act 1988.) # This file may have to be extensively modified +export DH_VERBOSE=1 + DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) @@ -91,8 +93,12 @@ binary-libgdbm: checkroot build $(install_script) debian/postinst debian/postrm debian/tmp/DEBIAN/ $(install_dir) debian/tmp/usr/share/doc/libgdbm3/ - $(install_file) debian/changelog debian/tmp/usr/share/doc/libgdbm3/changelog.Debian - $(install_file) ChangeLog debian/tmp/usr/share/doc/libgdbm3/changelog + + # Use dh_installchangelogs to fix https://bugs.debian.org/768798 + #$(install_file) debian/changelog debian/tmp/usr/share/doc/libgdbm3/changelog.Debian + #$(install_file) ChangeLog debian/tmp/usr/share/doc/libgdbm3/changelog + dh_installchangelogs -plibgdbm3 -Pdebian/tmp/ + $(compress) debian/tmp/usr/share/doc/libgdbm3/* $(install_file) debian/copyright debian/tmp/usr/share/doc/libgdbm3/copyright @@ -144,9 +150,12 @@ binary-libgdbm-dev: checkroot build $(install_dir) debian/tmp/DEBIAN/ $(install_dir) debian/tmp/usr/share/doc/libgdbm-dev/ - $(install_file) debian/changelog \ - debian/tmp/usr/share/doc/libgdbm-dev/changelog.Debian - $(install_file) ChangeLog debian/tmp/usr/share/doc/libgdbm-dev/changelog + + # Use dh_installchangelogs to fix https://bugs.debian.org/768798 + #$(install_file) debian/changelog \ + #debian/tmp/usr/share/doc/libgdbm-dev/changelog.Debian + #$(install_file) ChangeLog debian/tmp/usr/share/doc/libgdbm-dev/changelog + dh_installchangelogs -plibgdbm-dev -Pdebian/tmp/ $(install_file) NEWS README debian/tmp/usr/share/doc/libgdbm-dev/ $(compress) debian/tmp/usr/share/doc/libgdbm-dev/* $(install_file) debian/copyright \