Sanitize + simplify %patch "macro" parsing
authorPanu Matilainen <pmatilai@redhat.com>
Sun, 20 Apr 2008 19:07:53 +0000 (22:07 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Sun, 20 Apr 2008 19:07:53 +0000 (22:07 +0300)
commit3d7db31479c1cf72fdec31bffe207b2a82068210
treef7f2fff87dfc319ac4176af12067204389e75eea
parentd35cec6ab24b1d52bfaf953e3174b53f3d1170de
Sanitize + simplify %patch "macro" parsing
- Use popt for parsing %patch options, give accurate error messages for
  invalid options instead of bogosity like "bad %patch arg: %build"
- Store all the variants we can get patch numbers into argv to avoid
  special cases when passing to doPatch(), this has the added bonus
  of removing the 1024 patches per line-limit (as if somebody cared)
build/parsePrep.c