diff options
author | jbj <devnull@localhost> | 2002-05-16 16:55:21 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-05-16 16:55:21 +0000 |
commit | 076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf (patch) | |
tree | c79f91a35a1134d5cd67394c534e804405697d61 /build.c | |
parent | bc9d22eeb9034966654091306e3e3fc9a9dd7c71 (diff) | |
download | rpm-076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf.tar.gz rpm-076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf.tar.bz2 rpm-076a6e29c5c8a35a5f78ae2a15339d030cfe2fdf.zip |
- opaque (well mostly) rpmTransactionSet using methods.
CVS patchset: 5437
CVS date: 2002/05/16 16:55:21
Diffstat (limited to 'build.c')
-rw-r--r-- | build.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -30,9 +30,10 @@ static int checkSpec(rpmTransactionSet ts, Header h) && !headerIsEntry(h, RPMTAG_CONFLICTNAME)) return 0; - rc = rpmtransAddPackage(ts, h, NULL, 0, NULL); + rc = rpmtsAddPackage(ts, h, NULL, 0, NULL); + + rc = rpmtsCheck(ts); - rc = rpmdepCheck(ts); ps = rpmtsGetProblems(ts); if (rc == 0 && ps) { rpmMessage(RPMMESS_ERROR, _("Failed build dependencies:\n")); @@ -42,7 +43,7 @@ static int checkSpec(rpmTransactionSet ts, Header h) ps = rpmProblemSetFree(ps); /* XXX nuke the added package. */ - rpmtransClean(ts); + rpmtsClean(ts); return rc; } |