]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Also change the source package name in the module changelog file
authorRuss Allbery <rra@debian.org>
Thu, 1 Oct 2009 01:05:09 +0000 (18:05 -0700)
committerRuss Allbery <rra@debian.org>
Wed, 6 Jan 2010 01:07:05 +0000 (17:07 -0800)
* 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

index 3c58b6194f4ead00753bbcde5fdfcd0c7ddbfef5..0a8e74664f67c06beca0b760379f5743e9ce2313 100755 (executable)
@@ -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