diff options
-rw-r--r-- | URPM.xs | 8 | ||||
-rw-r--r-- | perl-URPM.spec | 5 |
2 files changed, 12 insertions, 1 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: diff --git a/perl-URPM.spec b/perl-URPM.spec index 85e9f15..7f0c365 100644 --- a/perl-URPM.spec +++ b/perl-URPM.spec @@ -1,7 +1,7 @@ %define name perl-URPM %define real_name URPM %define version 0.90 -%define release 2mdk +%define release 3mdk %{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)} @@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed May 28 2003 Warly <warly@mandrakesoft.com> 0.90-3mdk +- add license function for urpm->{depslist}[$id] + * Mon May 26 2003 François Pons <fpons@mandrakesoft.com> 0.90-2mdk - fixed URPM::resolve_requested return value (list of package selected by this call). |