diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-03 14:42:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-03 14:42:35 +0000 |
commit | 3e770ce3b9b9cb1824b6171d9d501c393e8649c4 (patch) | |
tree | f8cf0683ae5fb82bf145c31bb852ec706dd8563e | |
parent | 7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda (diff) | |
download | perl-URPM-3e770ce3b9b9cb1824b6171d9d501c393e8649c4.tar perl-URPM-3e770ce3b9b9cb1824b6171d9d501c393e8649c4.tar.gz perl-URPM-3e770ce3b9b9cb1824b6171d9d501c393e8649c4.tar.bz2 perl-URPM-3e770ce3b9b9cb1824b6171d9d501c393e8649c4.tar.xz perl-URPM-3e770ce3b9b9cb1824b6171d9d501c393e8649c4.zip |
- add $trans->Element_version and $trans->Element_release
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.xs | 20 |
2 files changed, 22 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- add $trans->Element_version and $trans->Element_release + Version 1.67 - 22 June 2007, by Olivier "Nanar" Thauvin - add osscore, archscore and platformscore function to URPM @@ -5,7 +7,6 @@ Version 1.67 - 22 June 2007, by Olivier "Nanar" Thauvin - fix call to rpm function in spec2header() - fix some compilation warnings - Version 1.66 - 2 July 2007, by Pascal "Pixel" Rigaux - fix --auto-select skipping some packages because of other packages providing @@ -2932,6 +2932,26 @@ Trans_Element_name(trans, index) RETVAL char * +Trans_Element_version(trans, index) + URPM::Transaction trans + int index + CODE: + rpmte te = rpmtsElement(trans->ts, index); + RETVAL = te ? (char *) rpmteV(te) : NULL; + OUTPUT: + RETVAL + +char * +Trans_Element_release(trans, index) + URPM::Transaction trans + int index + CODE: + rpmte te = rpmtsElement(trans->ts, index); + RETVAL = te ? (char *) rpmteR(te) : NULL; + OUTPUT: + RETVAL + +char * Trans_Element_fullname(trans, index) URPM::Transaction trans int index |