From 9f85c713acad17a6115413a5c948de3e29ddd44e Mon Sep 17 00:00:00 2001 From: Duncan Mac-Vicar P Date: Sat, 11 Oct 2008 11:01:41 +0000 Subject: [PATCH] it is not distver but releasever --- tools/repo_products.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/repo_products.c b/tools/repo_products.c index deb7d24..95a9fc2 100644 --- a/tools/repo_products.c +++ b/tools/repo_products.c @@ -275,9 +275,10 @@ endElement(void *userData, const char *name) // output distver if requested, only if the product is // a base product + // this is yum $releasever variable if (pd->currentproduct == pd->baseproduct && pd->attribute - && !strcmp(pd->attribute, "distver")) + && !strcmp(pd->attribute, "releasever")) { printf("%s\n", pd->tmpvers); } -- 2.7.4