From 7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 5 Jul 2007 13:36:59 +0000 Subject: - 0.67 --- NEWS | 8 ++++++++ URPM.pm | 12 +++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index a66d990..a974db0 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +Version 1.67 - 22 June 2007, by Olivier "Nanar" Thauvin + +- add osscore, archscore and platformscore function to URPM +- is_platform_compat function to Pkg object +- 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 diff --git a/URPM.pm b/URPM.pm index c88bf3c..4447998 100644 --- a/URPM.pm +++ b/URPM.pm @@ -10,7 +10,7 @@ use URPM::Resolve; use URPM::Signature; our @ISA = qw(DynaLoader); -our $VERSION = '1.66'; +our $VERSION = '1.67'; URPM->bootstrap($VERSION); @@ -762,6 +762,16 @@ Sets rpm verbosity level. $level is an integer between 2 (RPMMESS_CRIT) and 7 Return the score of $platform according computer's configuration. 0 mean not compatible, lower is prefered. +=item archscore($arch) + +Return the score of the given arch. 0 mean not compatible, +lower is prefered. + +=item osscore($os) + +Return the score of the given os. 0 mean not compatible, +lower is prefered. + =back =head1 COPYRIGHT -- cgit v1.2.1