summaryrefslogtreecommitdiff
path: root/build/pack.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-07-31 20:11:49 +0000
committerjbj <devnull@localhost>1998-07-31 20:11:49 +0000
commitf005d723a5290e9afa1c832fa667720d9ca11fd3 (patch)
tree953c13b7eb4137e95988a3343c8f4720e226ae8e /build/pack.c
parentfc09e52f545cd99dc9f9b98b36518f17d57ed2c3 (diff)
downloadlibrpm-tizen-f005d723a5290e9afa1c832fa667720d9ca11fd3.tar.gz
librpm-tizen-f005d723a5290e9afa1c832fa667720d9ca11fd3.tar.bz2
librpm-tizen-f005d723a5290e9afa1c832fa667720d9ca11fd3.zip
Macro handling in rpmlib -- rework include: tag with macro expansion.
CVS patchset: 2215 CVS date: 1998/07/31 20:11:49
Diffstat (limited to 'build/pack.c')
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index 6656eb300..aca176fdb 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -342,7 +342,7 @@ static StringBuf addFileToTagAux(Spec spec, char *file, StringBuf sb)
return NULL;
}
while (fgets(buf, sizeof(buf), f)) {
- if (expandMacros(spec, &spec->macros, buf, sizeof(buf))) {
+ if (expandMacros(spec, spec->macros, buf, sizeof(buf))) {
rpmError(RPMERR_BADSPEC, "line: %s", buf);
return NULL;
}