From: Duncan Mac-Vicar P Date: Fri, 12 Sep 2008 14:39:14 +0000 (+0000) Subject: write the registration values to the solv file X-Git-Tag: BASE-SuSE-Code-12_1-Branch~507 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a94585c4044d0c9a128e1c4320b6947d588989c;p=platform%2Fupstream%2Flibsolv.git write the registration values to the solv file --- diff --git a/tools/repo_products.c b/tools/repo_products.c index dc6cecd..4aded27 100644 --- a/tools/repo_products.c +++ b/tools/repo_products.c @@ -312,6 +312,7 @@ endElement(void *userData, const char *name) } break; case STATE_TARGET: + repodata_set_str(pd->data, pd->handle, PRODUCT_REGISTER_TARGET, pd->content ); if (currentproduct == baseproduct && pd->attribute && !strcmp(pd->attribute, "register.target")) @@ -329,6 +330,7 @@ endElement(void *userData, const char *name) } break; case STATE_REGRELEASE: + repodata_set_str(pd->data, pd->handle, PRODUCT_REGISTER_RELEASE, pd->content ); if (currentproduct == baseproduct && pd->attribute && !strcmp(pd->attribute, "register.release"))