aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs8
1 files changed, 8 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 053183b..290b3a2 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1547,6 +1547,14 @@ Pkg_os(pkg)
}
void
+Pkg_payload_format(pkg)
+ URPM::Package pkg
+ PPCODE:
+ if (pkg->h) {
+ XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_PAYLOADFORMAT), 0)));
+ }
+
+void
Pkg_fullname(pkg)
URPM::Package pkg
PREINIT: