X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=spec2make.c;fp=spec2make.c;h=bcc49199cab21d3bcdc01cc8072266b0b1bb7ca3;hb=bda2419901c2d5800ca94cd645eb6c323cb1292c;hp=fc5dd6f551916a32c3c61383c3b7fdcb68ca88e3;hpb=9c16ae134dd48636f5d4f75f97d7e4b7cb72d163;p=build.git diff --git a/spec2make.c b/spec2make.c index fc5dd6f5..bcc49199 100644 --- a/spec2make.c +++ b/spec2make.c @@ -94,47 +94,47 @@ main(int argc, char *argv[]) /* walk argv list looking for options */ while ((args+1) from argv */ + /* whitelist-rpms are packages that need to be considered even if the parsing logic of spec2make (second half of this file) concludes otherwise */ + if (strcmp(argv[args],"--whitelist-rpms")==0) { + /* Split "whitelist-rpms" which is a comma-separated list, remove --whitelist-rpms