On Thu, 28 Oct 2004, Frank Küster wrote: > Henrique de Moraes Holschuh <[EMAIL PROTECTED]> schrieb: > > Repack the upstream tarball sans the bogus debian/ dir, or use one of the > > unpack-tarball-on-build-tree/-and-patch packaging styles... > > Why not just replace the upstream debian dir with your version in > diff.gz? Just because some tool (uupdate) might have problems with that?
Patch cannot delete files. So, don't trust diff.gz to give you a clean debian/ dir when upstream has some cruft in there. It is dangerous, and potentially much more confusing than one might expect, since you will have to delete bogus files in the clean targed of debian/rules. It will bite the security guys, or someone doing an NMU. Or it will bite you when a new upstream comes that has a dangerous file in debian/ that you didn't notice in time. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh