handle %patch -P <num> properly and improve patch test
authorPetr Uzel <petr.uzel@suse.cz>
Fri, 27 May 2011 12:01:17 +0000 (14:01 +0200)
committerPavol Rusnak <stick@gk2.sk>
Fri, 27 May 2011 12:13:14 +0000 (14:13 +0200)
commita1a183067992a8adb1ca0d4d4eb0a5c0400b4285
tree1e3ad244a8072ff0443b49b836c390abb5272742
parentf30245f6b5efd55ffec533c76492b3e8d777c945
handle %patch -P <num> properly and improve patch test

Before:
%patch -P0 -p1  ---> %patch0 -P0 -p1

Now:
%patch -P0 -p1  ---> %patch0 -p1
%patch -P12 -p0 ---> %patch12 -p0

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
spec-cleaner
tests/patches-in.spec
tests/patches-out.spec