aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS2
-rw-r--r--URPM.xs2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 674054d..2c5550d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- really enable to traverse rpm db by fullname
+
Version 4.9 - 25 June 2012
- fix setting rflags on packages (mga#6532)
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);
}