diff options
-rw-r--r-- | URPM.pm | 2 | ||||
-rw-r--r-- | URPM.xs | 12 |
2 files changed, 14 insertions, 0 deletions
@@ -520,6 +520,8 @@ Return an array of human readable view of tag values. $tagid is the numerical va =item $package->id() +=item $package->installtid() + =item $package->is_arch_compat() =item $package->license() @@ -1518,6 +1518,18 @@ Pkg_buildtime(pkg) OUTPUT: RETVAL +int +Pkg_installtid(pkg) + URPM::Package pkg + CODE: + if (pkg->h) { + RETVAL = get_int(pkg->h, RPMTAG_INSTALLTID); + } else { + RETVAL = 0; + } + OUTPUT: + RETVAL + void Pkg_url(pkg) URPM::Package pkg |