From 482e11cb5b47ae65234d5d98e4465217c7ed50f4 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) (cherry picked from commit fe1cd4caa415bed3172918401a8a46ebd1455407) --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5