summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:56:47 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:56:48 +0900
commitfd257fb9c490f4af3fbfb71c4d099fe876be28eb (patch)
tree47a77e44fad3684dfd11333ac9cf0bd1770b907d /examples
parent70c6207bfdb27f170377015f65f22e8ba50f6a10 (diff)
downloadlibsolv-fd257fb9c490f4af3fbfb71c4d099fe876be28eb.tar.gz
libsolv-fd257fb9c490f4af3fbfb71c4d099fe876be28eb.tar.bz2
libsolv-fd257fb9c490f4af3fbfb71c4d099fe876be28eb.zip
Imported Upstream version 0.6.14upstream/0.6.14
Change-Id: I3e83c4ddc30f8d8cfa6f965a85ecca72781d89e4 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/solv/solv.c2
-rwxr-xr-xexamples/tclsolv2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/solv/solv.c b/examples/solv/solv.c
index d624bf6..6840a6e 100644
--- a/examples/solv/solv.c
+++ b/examples/solv/solv.c
@@ -661,7 +661,7 @@ main(int argc, char **argv)
queue_push2(&job, SOLVER_ERASE|SOLVER_CLEANDEPS|SOLVER_SOLVABLE_PROVIDES, pool_rel2id(pool, NAMESPACE_LANGUAGE, 0, REL_NAMESPACE, 1));
#endif
-#if defined(ENABLE_RPMDB) && (defined(SUSE) || defined(FEDORA))
+#if defined(ENABLE_RPMDB) && (defined(SUSE) || defined(FEDORA) || defined(MANDRIVA) || defined(MAGEIA))
rerunsolver:
#endif
solv = solver_create(pool);
diff --git a/examples/tclsolv b/examples/tclsolv
index 6f819aa..0fc4e2a 100755
--- a/examples/tclsolv
+++ b/examples/tclsolv
@@ -738,7 +738,7 @@ foreach cl [$trans classify [expr $solv::Transaction_SOLVER_TRANSACTION_SHOW_OBS
set cltype [$cl cget -type]
if {$cltype == $solv::Transaction_SOLVER_TRANSACTION_UPGRADED || $cltype ==$solv::Transaction_SOLVER_TRANSACTION_DOWNGRADED} {
set op [$trans othersolvable $p]
- puts [format { - %s -> %s} [$p str] [$p str]]
+ puts [format { - %s -> %s} [$p str] [$op str]]
} else {
puts [format { - %s} [$p str]]
}