aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
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 /URPM.xs
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
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
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);
}