chiark / gitweb /
Add support for patching source packages.
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>
Thu, 16 Jun 2011 20:57:49 +0000 (23:57 +0300)
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>
Sat, 2 Jul 2011 15:30:47 +0000 (18:30 +0300)
commit1099e114f5646d42479e97ea50dc5bc665d3938e
tree8f8550ce249f8efb762919588ecc454420a56ab3
parent5d4e7542f5fbfa6c99b231a67108151b4cf09b50
Add support for patching source packages.

Sometimes there's a need to patch upstream source. While this can be
scripted using prebuild commands, it's very verbose and unstructured,
so add dedicated patching support.

Details:

To patch source, specific build's metadata line should include:

patch=patch1.patch;patch2.patch;...

Patches are separated with ';', at least one patch should be specified.
They are applied in the order given. Patches are looked up in
metadata/<package>/ directory. Different builds obviously may reference
the same patch(es).
build.py