X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=spec2make.c;h=60004ef6448d360b1862ed5bee696737ed8bec6e;hb=be1573f6b698bf9d05acb7859295bfa67a6d831c;hp=fc5dd6f551916a32c3c61383c3b7fdcb68ca88e3;hpb=1c24f489201689afb53722f2322431c9b9c18ae6;p=build.git diff --git a/spec2make.c b/spec2make.c index fc5dd6f5..60004ef6 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