diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-10-16 11:12:45 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-10-16 11:12:45 +0000 |
commit | c7c4ac2a2e499416eda91d854ae008bb5c16c7c8 (patch) | |
tree | d9cc012950df487a668b262fefbcdf43fe61fc1b /rpmeval.c | |
parent | 538e1d8a674d551fd9d0e76241fbb803680ed165 (diff) | |
download | rpm-setup-c7c4ac2a2e499416eda91d854ae008bb5c16c7c8.tar rpm-setup-c7c4ac2a2e499416eda91d854ae008bb5c16c7c8.tar.gz rpm-setup-c7c4ac2a2e499416eda91d854ae008bb5c16c7c8.tar.bz2 rpm-setup-c7c4ac2a2e499416eda91d854ae008bb5c16c7c8.tar.xz rpm-setup-c7c4ac2a2e499416eda91d854ae008bb5c16c7c8.zip |
fix build with rpm 5.3 api
Diffstat (limited to 'rpmeval.c')
-rw-r--r-- | rpmeval.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; } |