diff options
author | Francois Pons <fpons@mandriva.com> | 2003-04-22 14:35:01 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-04-22 14:35:01 +0000 |
commit | 862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f (patch) | |
tree | e99062ce66193709edac52244f647abb041e15de /URPM.xs | |
parent | b754d20b70bc9734b7471dd7aeafc73c038d7d5a (diff) | |
download | perl-URPM-862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f.tar perl-URPM-862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f.tar.gz perl-URPM-862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f.tar.bz2 perl-URPM-862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f.tar.xz perl-URPM-862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f.zip |
0.82-3mdk
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -954,6 +954,30 @@ Pkg_sourcerpm(pkg) } void +Pkg_packager(pkg) + URPM::Package pkg + PPCODE: + if (pkg->h) { + XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_PACKAGER), 0))); + } + +void +Pkg_buildhost(pkg) + URPM::Package pkg + PPCODE: + if (pkg->h) { + XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_BUILDHOST), 0))); + } + +void +Pkg_url(pkg) + URPM::Package pkg + PPCODE: + if (pkg->h) { + XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_URL), 0))); + } + +void Pkg_fullname(pkg) URPM::Package pkg PREINIT: |