aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-05 13:36:59 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-05 13:36:59 +0000
commit7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda (patch)
treedd69576f0fcacab90a9c39b20f902d8a285ac19b
parenta3bf4be7d7fa2d1af39d0c830d57ad9a1f359ee1 (diff)
downloadperl-URPM-7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda.tar
perl-URPM-7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda.tar.gz
perl-URPM-7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda.tar.bz2
perl-URPM-7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda.tar.xz
perl-URPM-7e3ad7365d99b7e8b03c5d3a75d846d9e7ec8dda.zip
- 0.671.67
-rw-r--r--NEWS8
-rw-r--r--URPM.pm12
2 files changed, 19 insertions, 1 deletions
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