From fe1cd4caa415bed3172918401a8a46ebd1455407 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 30 Sep 2009 18:05:09 -0700 Subject: [PATCH] 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) --- debian/changelog | 9 +++++++++ debian/rules | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) 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 -- 2.39.5