From ee244b7e0ada391f29837d15647ef1f63d27c17c Mon Sep 17 00:00:00 2001 From: jbj Date: Tue, 26 Jan 1999 21:57:57 +0000 Subject: Parse BuildRequires: and add appropriate RPMTAG_*REQUIRES* to src rpm header. CVS patchset: 2763 CVS date: 1999/01/26 21:57:57 --- build/parseScript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/parseScript.c') diff --git a/build/parseScript.c b/build/parseScript.c index 5c4dd6784..03670d4e0 100644 --- a/build/parseScript.c +++ b/build/parseScript.c @@ -206,7 +206,7 @@ int parseScript(Spec spec, int parsePart) stripTrailingBlanksStringBuf(sb); p = getStringBuf(sb); - addReqProv(spec, pkg, RPMSENSE_PREREQ, prog, NULL, 0); + addReqProv(spec, pkg->header, RPMSENSE_PREREQ, prog, NULL, 0); /* Trigger script insertion is always delayed in order to */ /* get the index right. */ -- cgit v1.2.3