aboutsummaryrefslogtreecommitdiffstats
path: root/rpmeval.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-07-25 17:23:17 +0000
committerThierry Vignaud <tv@mageia.org>2012-07-25 17:23:17 +0000
commit3ce36b2342f95a3cdce2e1ebdd3755548bbd62e4 (patch)
treee50e39ca89c9a115dbedde3efab4e63cb77a262c /rpmeval.c
parentf70315ee824aada1215326087cfb8b748ad4e170 (diff)
downloadrpm-setup-3ce36b2342f95a3cdce2e1ebdd3755548bbd62e4.tar
rpm-setup-3ce36b2342f95a3cdce2e1ebdd3755548bbd62e4.tar.gz
rpm-setup-3ce36b2342f95a3cdce2e1ebdd3755548bbd62e4.tar.bz2
rpm-setup-3ce36b2342f95a3cdce2e1ebdd3755548bbd62e4.tar.xz
rpm-setup-3ce36b2342f95a3cdce2e1ebdd3755548bbd62e4.zip
merge patches from package repository: fix build with rpm-4.9+
Diffstat (limited to 'rpmeval.c')
-rw-r--r--rpmeval.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/rpmeval.c b/rpmeval.c
index c6b1469..a325053 100644
--- a/rpmeval.c
+++ b/rpmeval.c
@@ -22,11 +22,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Cannot load configuration\n");
return rc;
}
- if (rc = rpmLoadMacroFile(rpmGlobalMacroContext, argv[1]
-#ifndef RPMDBI_LABEL
- ,2
-#endif
- )) {
+ if (rc = rpmLoadMacroFile(rpmGlobalMacroContext, argv[1]))) {
fprintf(stderr, "Cannot read %s\n", argv[1]);
return rc;
}