aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-20 18:39:56 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-20 18:39:56 +0000
commit90eee80969aa54b3bc610338e0c9449e5dfef51f (patch)
treed11b178f11b7374c633f272dac961fcc37489561
parent86bdb0b6f8f1055c146eaca5c2c3878784cbd07c (diff)
downloadperl-URPM-90eee80969aa54b3bc610338e0c9449e5dfef51f.tar
perl-URPM-90eee80969aa54b3bc610338e0c9449e5dfef51f.tar.gz
perl-URPM-90eee80969aa54b3bc610338e0c9449e5dfef51f.tar.bz2
perl-URPM-90eee80969aa54b3bc610338e0c9449e5dfef51f.tar.xz
perl-URPM-90eee80969aa54b3bc610338e0c9449e5dfef51f.zip
(rpmtag_from_string) enable to traverse db by fullname
-rw-r--r--NEWS2
-rw-r--r--URPM.xs2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2c9fe55..a1f51a6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- enable to traverse db by fullname
+
Version 3.38.4 - 17 September 2011
- fix calling method in string
diff --git a/URPM.xs b/URPM.xs
index 568affd..2c9b7b8 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1420,6 +1420,8 @@ int rpmtag_from_string(char *tag)
return RPMTAG_TRIGGERNAME;
else if (!strcmp(tag, "path"))
return RPMTAG_BASENAMES;
+ else if (!strcmp(tag, "nvra"))
+ return RPMTAG_NVRA;
else croak("unknown tag [%s]", tag);
}