[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#484549: lintian: Check that patches in debian/patches/ do not modify files in the debian directory



Hi,

On Wed, 04 Jun 2008, Joey Hess wrote:
> Raphael Hertzog wrote:
> > This is always wrong as the files in the debian directory are provided by
> > Debian. 
> 
> Unless they're provided by upstream...

Even in that case, the changes should end up in the .diff.gz and not
really in a patch in debian/patches/.

> > Furthermore those packages do not work with the "3.0 (quilt)" source
> > format as it needs to generate a diff between the current source directory
> > and the upstream source + a copy of the debian directory + the patches
> > from the quilt series. 
> 
> So the quilt format cannot be used if upstream choses to include a
> debian directory?

Of course it can. It removes any pre-existing debian directory before
unpacking the .debian.tar.gz. Thus it avoids the need of repacking for
the upstream that provides a debian dir in their tarball.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



Reply to: