diff options
author | Pascal Terjan <pterjan@gmail.com> | 2014-05-31 14:21:31 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2014-05-31 14:21:31 +0000 |
commit | d74a214bbaddfb5dffdcef3001949c40796ce03a (patch) | |
tree | e66c00fba1cd8de152d4075dcc5167fafc16aade /urpm/xml_info_pkg.pm | |
parent | 20400ecfa89374d30817ef25dba890a352f8e64d (diff) | |
download | urpmi-d74a214bbaddfb5dffdcef3001949c40796ce03a.tar urpmi-d74a214bbaddfb5dffdcef3001949c40796ce03a.tar.gz urpmi-d74a214bbaddfb5dffdcef3001949c40796ce03a.tar.bz2 urpmi-d74a214bbaddfb5dffdcef3001949c40796ce03a.tar.xz urpmi-d74a214bbaddfb5dffdcef3001949c40796ce03a.zip |
add some missing methods, allows to do urpmf --qf '%sourcerpm:%requires'
Diffstat (limited to 'urpm/xml_info_pkg.pm')
-rw-r--r-- | urpm/xml_info_pkg.pm | 5 |
1 files changed, 5 insertions, 0 deletions
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) |