]> err.no Git - dpkg/commit
Apply patches before building source packages when needed
authorRaphael Hertzog <hertzog@debian.org>
Sun, 30 Mar 2008 16:03:38 +0000 (18:03 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Tue, 1 Apr 2008 17:36:16 +0000 (19:36 +0200)
commit25298d2cef23a4833721a25faead05c99557cccc
tree85e3b22fb42034fff6e12118db887554383b7bfa
parent10b5f63549fce397982db587b00ebb24e05a9322
Apply patches before building source packages when needed

* scripts/Dpkg/Source/Package/V2_0.pm (do_extract): Create
debian/patches/.dpkg-source-applied containing the list of patches
applied during extraction.
(prepare_build): apply patches before trying to build a source package
when it's clear that they have not been applied because
debian/patches/.dpkg-source-applied doesn't exist.
* scripts/Dpkg/Source/Package/V3_0/quilt.pm: Likewise. If a .pc directory
is present, then use "quilt unapplied" to check if all patches have been
applied.
* man/dpkg-source.1: Document the above changes.
ChangeLog
debian/changelog
man/dpkg-source.1
scripts/Dpkg/Source/Package/V2_0.pm
scripts/Dpkg/Source/Package/V3_0/quilt.pm