From 2e48f0ca4a92b596a7587ea13540ab13a0491b16 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Sat, 10 Oct 2015 10:32:07 +0200 Subject: [PATCH] Fix comment for doPatchMacro. Without a '-P' flag, plain "%patch" refers to numberless "Patch:". --- build/parsePrep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/parsePrep.c b/build/parsePrep.c index b94aad244c..38edeb2767 100644 --- a/build/parsePrep.c +++ b/build/parsePrep.c @@ -389,8 +389,8 @@ static int doSetupMacro(rpmSpec spec, const char *line) * - -P\ -P\... can be used to apply several patch on a single line * - Any trailing arguments are treated as patch numbers * - Any combination of the above, except unless at least one -P is specified, - * %patch is treated as %patch -P0 so that "%patch 1" is actually - * equal to "%patch -P0 -P1". + * %patch is treated as "numberless patch" so that "%patch 1" actually tries + * to pull in numberless "Patch:" and numbered "Patch1:". * * @param spec build info * @param line current line from spec file