Bug#774073: dh-make-perl: Ceating core module, install fails with "trying to overwrite foo which is also in bar"
Andrew Beverley
andy at andybev.com
Mon Dec 29 00:04:41 UTC 2014
On Sun, 2014-12-28 at 14:51 +0200, Niko Tyni wrote:
> A more robust solution is using dpkg-divert in maintainer scripts to move
> the core version out of the way and then back later if necessary. See
> for instance the libmodule-corelist-perl package for an example
> implementation.
Okay, attached is a revised patch that does exactly that.
It works (and it's taken me all day), but I admit that it's pretty
messy, so would welcome any feedback as to how to make this a little
tidier.
I figured that the dpkg-divert lines have to be generated during build,
otherwise it's not easily known which files will be installed.
Comments welcome!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-install-fails-with-trying-to-overwrite-foo-which.patch
Type: text/x-patch
Size: 5156 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20141229/372392a8/attachment.bin>
More information about the pkg-perl-maintainers
mailing list