aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2004-04-25 10:44:42 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2004-04-25 10:44:42 +0000
commitd381d7b78c47ea2cddb46b9e50782372a45a62d9 (patch)
tree9edb5c4d9d9903a715cd78856f6272df99202de7 /URPM.pm
parent40144b2ef015bbfc652d96f0d03957af7078addb (diff)
downloadperl-URPM-d381d7b78c47ea2cddb46b9e50782372a45a62d9.tar
perl-URPM-d381d7b78c47ea2cddb46b9e50782372a45a62d9.tar.gz
perl-URPM-d381d7b78c47ea2cddb46b9e50782372a45a62d9.tar.bz2
perl-URPM-d381d7b78c47ea2cddb46b9e50782372a45a62d9.tar.xz
perl-URPM-d381d7b78c47ea2cddb46b9e50782372a45a62d9.zip
- add $pkg->queryformat() function
- $ûrpm->list_rpm_tag show all tag, value for unparsable tag is 'undef' in hash
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index 37b626f..ee8529f 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -441,6 +441,13 @@ Returns a string NAME-VERSION-RELEASE.ARCH in scalar context.
Returns an array containing values of $tagid. $tagid is the numerical value of
rpm tags. See rpmlib.h.
+=item $package->queryformat($format)
+
+Querying the package like rpm --queryformat do.
+
+The function call directlly the rpmlib, then use headers informations, so it
+silently failed if you use synthesis instead hdlist/rpms/headers files or rpmdb.
+
=item $package->get_tag_modifiers($tagid)
Return an array of human readable view of tag values. $tagid is the numerical value of rpm tags.