if AutoReq is disabled, do not add automatic interp deps

This commit is contained in:
Дмитрий Левин 2005-08-17 13:48:55 +00:00
parent 81ae84ec65
commit b59b7dcd44

View File

@ -260,6 +260,7 @@ int parseScript(Spec spec, int parsePart)
stripTrailingBlanksStringBuf(sb);
p = getStringBuf(sb);
if (pkg->autoReq && *pkg->autoReq)
(void) addReqProv(spec, pkg->header, (tagflags | RPMSENSE_INTERP), progArgv[0], NULL, 0);
/* Trigger script insertion is always delayed in order to */