aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-22 14:35:01 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-22 14:35:01 +0000
commit862ad4c9de2f8a4514b27b1ae4a9c8ca83a4d14f (patch)
treee99062ce66193709edac52244f647abb041e15de /URPM.xs
parentb754d20b70bc9734b7471dd7aeafc73c038d7d5a (diff)
downloadperl-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.xs24
1 files changed, 24 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 3e56ecc..f9fef55 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -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: