From: Russ Allbery Date: Thu, 1 Oct 2009 01:05:09 +0000 (-0700) Subject: Also change the source package name in the module changelog file X-Git-Tag: debian/1.4.11+dfsg-4^0 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fe1cd4caa415bed3172918401a8a46ebd1455407;p=packages%2Fo%2Fopenafs.git Also change the source package name in the module changelog file * When changing the name of the source package built by openafs-modules-source, we need to change the package name in the changelog as well or dpkg-gencontrol explodes. Thanks, Aaron M. Ucko. (Closes: #549140) --- diff --git a/debian/changelog b/debian/changelog index 41debc344..9dc4c27c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +openafs (1.4.11+dfsg-4) unstable; urgency=low + + * When changing the name of the source package built by + openafs-modules-source, we need to change the package name in the + changelog as well or dpkg-gencontrol explodes. Thanks, Aaron M. + Ucko. (Closes: #549140) + + -- Russ Allbery Wed, 30 Sep 2009 18:04:44 -0700 + openafs (1.4.11+dfsg-3) unstable; urgency=low * Apply upstream deltas: diff --git a/debian/rules b/debian/rules index d803c7b71..6bf6d6082 100755 --- a/debian/rules +++ b/debian/rules @@ -157,8 +157,10 @@ install-stamp: build-stamp cd libafs_tree && find . -print | \ cpio -admp $(CURDIR)/debian/$(srcpkg)/usr/src/modules/$(package) mkdir -p debian/$(srcpkg)/usr/src/modules/$(package)/debian - cp debian/changelog debian/copyright debian/module/* \ + cp debian/copyright debian/module/* \ debian/$(srcpkg)/usr/src/modules/$(package)/debian/ + sed 's/^openafs /openafs-modules /' debian/changelog \ + > debian/$(srcpkg)/usr/src/modules/$(package)/debian/changelog chmod 755 debian/$(srcpkg)/usr/src/modules/$(package)/debian/rules chown -R root.src debian/$(srcpkg) find debian/$(srcpkg) -type d | xargs chmod 755