diff options
author | jbj <devnull@localhost> | 2002-07-18 21:42:18 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-07-18 21:42:18 +0000 |
commit | 6c4025a55b46c33c8eaffe21b942aeb83fe08a3e (patch) | |
tree | 3d5c0534aaf9a3eec43a0756f6d194f89e247f22 /lib/rpmts.c | |
parent | 1adc12b6875596843ec98d3849206aefdc4d5679 (diff) | |
download | librpm-tizen-6c4025a55b46c33c8eaffe21b942aeb83fe08a3e.tar.gz librpm-tizen-6c4025a55b46c33c8eaffe21b942aeb83fe08a3e.tar.bz2 librpm-tizen-6c4025a55b46c33c8eaffe21b942aeb83fe08a3e.zip |
up2date functional on rpm-python-4.1 bindings.
CVS patchset: 5558
CVS date: 2002/07/18 21:42:18
Diffstat (limited to 'lib/rpmts.c')
-rw-r--r-- | lib/rpmts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index 82d72673b..f51aea28c 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -175,13 +175,13 @@ static int rpmtsOpenSDB(rpmts ts) return 0; if (has_sdbpath < 0) - has_sdbpath = rpmExpandNumeric("%{?_sdbpath:1}"); + has_sdbpath = rpmExpandNumeric("%{?_solve_dbpath:1}"); /* If not configured, don't try to open. */ if (has_sdbpath <= 0) return 1; - addMacro(NULL, "_dbpath", NULL, "%{_sdbpath}", RMIL_DEFAULT); + addMacro(NULL, "_dbpath", NULL, "%{_solve_dbpath}", RMIL_DEFAULT); rc = rpmdbOpen(ts->rootDir, &ts->sdb, O_RDONLY, 0644); if (rc) { const char * dn; |