From ee3f1614f1cb159a6902e36fb84f3ea87e5193ab Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Mon, 29 Sep 2008 12:56:20 +0000 Subject: [PATCH] rpms2solv failed to write out most solvable data (bnc #422338). --- VERSION.cmake | 2 +- package/libsatsolver.changes | 6 ++++++ tools/rpms2solv.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/VERSION.cmake b/VERSION.cmake index 1059ec3..cb95f45 100644 --- a/VERSION.cmake +++ b/VERSION.cmake @@ -46,6 +46,6 @@ SET(LIBSATSOLVER_MAJOR "0") SET(LIBSATSOLVER_MINOR "10") -SET(LIBSATSOLVER_PATCH "16") +SET(LIBSATSOLVER_PATCH "17") # last released 0.10.16 diff --git a/package/libsatsolver.changes b/package/libsatsolver.changes index 74d4daf..4ba3b5b 100644 --- a/package/libsatsolver.changes +++ b/package/libsatsolver.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Sep 29 14:53:09 CEST 2008 - ma@suse.de + +- rpms2solv failed to write out most solvable data (bnc #422338). +- revision 11201 + +------------------------------------------------------------------- Fri Sep 26 11:54:34 CEST 2008 - kkaempf@suse.de - new fallback strategy for installed products in rpmdb2solv diff --git a/tools/rpms2solv.c b/tools/rpms2solv.c index 0965e71..d4a228e 100644 --- a/tools/rpms2solv.c +++ b/tools/rpms2solv.c @@ -77,9 +77,9 @@ main(int argc, char **argv) repo = repo_create(pool, "rpms2solv"); repodata = repo_add_repodata(repo, 0); repo_add_rpms(repo, repodata, rpms, nrpms); - tool_write(repo, basefile, 0); if (repodata) repodata_internalize(repodata); + tool_write(repo, basefile, 0); pool_free(pool); for (c = 0; c < nrpms; c++) free((char *)rpms[c]); -- 2.7.4