summaryrefslogtreecommitdiff
path: root/build/parseScript.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-01-26 21:57:57 +0000
committerjbj <devnull@localhost>1999-01-26 21:57:57 +0000
commitee244b7e0ada391f29837d15647ef1f63d27c17c (patch)
tree7883f34f9ad02d44bfa5884ddeaa4a3238beb8ba /build/parseScript.c
parenta012dfe2dde3ef8f798defd9951bd13025db9d0e (diff)
downloadlibrpm-tizen-ee244b7e0ada391f29837d15647ef1f63d27c17c.tar.gz
librpm-tizen-ee244b7e0ada391f29837d15647ef1f63d27c17c.tar.bz2
librpm-tizen-ee244b7e0ada391f29837d15647ef1f63d27c17c.zip
Parse BuildRequires: and add appropriate RPMTAG_*REQUIRES* to src rpm
header. CVS patchset: 2763 CVS date: 1999/01/26 21:57:57
Diffstat (limited to 'build/parseScript.c')
-rw-r--r--build/parseScript.c2
1 files changed, 1 insertions, 1 deletions
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. */