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.5.73.3-1~57 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=482e11cb5b47ae65234d5d98e4465217c7ed50f4;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) (cherry picked from commit fe1cd4caa415bed3172918401a8a46ebd1455407) --- diff --git a/debian/rules b/debian/rules index 3c58b6194..0a8e74664 100755 --- a/debian/rules +++ b/debian/rules @@ -155,8 +155,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