From d381d7b78c47ea2cddb46b9e50782372a45a62d9 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Sun, 25 Apr 2004 10:44:42 +0000 Subject: =?UTF-8?q?-=20add=20$pkg->queryformat()=20function=20-=20$=C3=BBr?= =?UTF-8?q?pm->list=5Frpm=5Ftag=20show=20all=20tag,=20value=20for=20unpars?= =?UTF-8?q?able=20tag=20is=20'undef'=20in=20hash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- URPM.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'URPM.pm') 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. -- cgit v1.2.1