diff options
-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 |