aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-28 20:57:27 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-28 20:57:27 +0000
commit3b7786e94aa98ccc7ffc21de5d277fc3ea007b47 (patch)
tree1a62478bae5bc3e6019d67ac40d5082cf14ae808 /URPM.xs
parenta0fb4406af6dc657bc7fcb911266f832bdef28e3 (diff)
downloadperl-URPM-3b7786e94aa98ccc7ffc21de5d277fc3ea007b47.tar
perl-URPM-3b7786e94aa98ccc7ffc21de5d277fc3ea007b47.tar.gz
perl-URPM-3b7786e94aa98ccc7ffc21de5d277fc3ea007b47.tar.bz2
perl-URPM-3b7786e94aa98ccc7ffc21de5d277fc3ea007b47.tar.xz
perl-URPM-3b7786e94aa98ccc7ffc21de5d277fc3ea007b47.zip
(rpmtag_from_string) really enable to traverse rpm db by fullname
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 52c18c5..a5ddb48 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1330,7 +1330,7 @@ rpmtag_from_string(char *tag)
else if (!strcmp(tag, "path"))
return RPMDBI_BASENAMES;
else if (!strcmp(tag, "nvra"))
- return RPMTAG_NVRA;
+ return RPMDBI_LABEL;
else croak("unknown tag [%s]", tag);
}