aboutsummaryrefslogtreecommitdiffstats
path: root/rpmeval.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmeval.c')
-rw-r--r--rpmeval.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/rpmeval.c b/rpmeval.c
index 5daaed8..c719352 100644
--- a/rpmeval.c
+++ b/rpmeval.c
@@ -22,7 +22,11 @@ int main(int argc, char **argv)
fprintf(stderr, "Cannot load configuration\n");
return rc;
}
- if (rc = rpmLoadMacroFile(rpmGlobalMacroContext, argv[1])) {
+ if (rc = rpmLoadMacroFile(rpmGlobalMacroContext, argv[1]
+#ifndef RPMDBI_LABEL
+ ,2
+#endif
+ )) {
fprintf(stderr, "Cannot read %s\n", argv[1]);
return rc;
}