From d74a214bbaddfb5dffdcef3001949c40796ce03a Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 31 May 2014 14:21:31 +0000 Subject: add some missing methods, allows to do urpmf --qf '%sourcerpm:%requires' --- NEWS | 1 + urpm/xml_info_pkg.pm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 3a186765..060ec914 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- add some missing methods, allows to do urpmf --qf '%sourcerpm:%requires' - update bash completion Version 7.31 - 24 January 2014 diff --git a/urpm/xml_info_pkg.pm b/urpm/xml_info_pkg.pm index 889bfabd..cd6ca9e6 100644 --- a/urpm/xml_info_pkg.pm +++ b/urpm/xml_info_pkg.pm @@ -52,6 +52,11 @@ sub epoch { $_[0]{pkg}->epoch } sub buildhost { $_[0]{pkg}->buildhost } sub packager { $_[0]{pkg}->packager } sub summary { $_[0]{pkg}->summary } +sub conflicts { $_[0]{pkg}->conflicts } +sub obsoletes { $_[0]{pkg}->obsoletes } +sub provides { $_[0]{pkg}->provides } +sub requires { $_[0]{pkg}->requires } +sub suggests { $_[0]{pkg}->suggests } =item url($pkg) -- cgit v1.2.1