aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-05-09 16:00:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-05-09 16:00:37 +0000
commit20ba103d07067b21f0089892eeae618af73d32ce (patch)
tree0499639ca62a3358d3de7bd6dc36d805b0255b8d
parentcf1e973e10e2b04b75aca368e87ab53b48f36892 (diff)
downloadperl-URPM-1.63.tar
perl-URPM-1.63.tar.gz
perl-URPM-1.63.tar.bz2
perl-URPM-1.63.tar.xz
perl-URPM-1.63.zip
- new release, 1.631.63
- add $trans->Element_fullname
-rw-r--r--NEWS4
-rw-r--r--URPM.pm2
-rw-r--r--URPM.xs10
3 files changed, 15 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3169a85..0c2d261 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+Version 1.63 - 9 May 2007, by Pascal "Pixel" Rigaux
+
+- add $trans->Element_fullname
+
Version 1.62 - 3 May 2007, by Pascal "Pixel" Rigaux
- pass the virtual package name as a parameter to {callback_choices} in
diff --git a/URPM.pm b/URPM.pm
index 9a8c968..82f9ad0 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -10,7 +10,7 @@ use URPM::Resolve;
use URPM::Signature;
our @ISA = qw(DynaLoader);
-our $VERSION = '1.62';
+our $VERSION = '1.63';
URPM->bootstrap($VERSION);
diff --git a/URPM.xs b/URPM.xs
index 5d6d7b1..2455475 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2883,6 +2883,16 @@ Trans_Element_name(trans, index)
OUTPUT:
RETVAL
+char *
+Trans_Element_fullname(trans, index)
+ URPM::Transaction trans
+ int index
+ CODE:
+ rpmte te = rpmtsElement(trans->ts, index);
+ RETVAL = te ? (char *) rpmteNEVRA(te) : NULL;
+ OUTPUT:
+ RETVAL
+
void
Trans_run(trans, data, ...)
URPM::Transaction trans