projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c32471f
)
it is not distver but releasever
author
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Sat, 11 Oct 2008 11:01:41 +0000
(11:01 +0000)
committer
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Sat, 11 Oct 2008 11:01:41 +0000
(11:01 +0000)
tools/repo_products.c
patch
|
blob
|
history
diff --git
a/tools/repo_products.c
b/tools/repo_products.c
index
deb7d24
..
95a9fc2
100644
(file)
--- 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, "
dist
ver"))
+ && !strcmp(pd->attribute, "
release
ver"))
{
printf("%s\n", pd->tmpvers);
}