diff options
author | Florent Villard <warly@mandriva.com> | 2003-05-30 10:11:45 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-05-30 10:11:45 +0000 |
commit | f002e054e3f65987539ff4f4e4653b35c2ce96e4 (patch) | |
tree | 87c71258d8a1d9a1642fe9f8dbe2a6dc06ba387a /URPM.xs | |
parent | 07e32b67ac8f934eb98b3902aa0d4e29b1822813 (diff) | |
download | perl-URPM-f002e054e3f65987539ff4f4e4653b35c2ce96e4.tar perl-URPM-f002e054e3f65987539ff4f4e4653b35c2ce96e4.tar.gz perl-URPM-f002e054e3f65987539ff4f4e4653b35c2ce96e4.tar.bz2 perl-URPM-f002e054e3f65987539ff4f4e4653b35c2ce96e4.tar.xz perl-URPM-f002e054e3f65987539ff4f4e4653b35c2ce96e4.zip |
add Pkg_license function to URPM.xs (URPM::Package)
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1309,6 +1309,14 @@ Pkg_url(pkg) } void +Pkg_license(pkg) + URPM::Package pkg + PPCODE: + if (pkg->h) { + XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_LICENSE), 0))); + } + +void Pkg_fullname(pkg) URPM::Package pkg PREINIT: |