aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm3
-rw-r--r--perl-URPM.spec6
2 files changed, 8 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2f5ccc7..399a7d0 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -603,6 +603,9 @@ sub request_packages_to_upgrade {
#- build direct access to best package according to name.
foreach my $pkg (@{$urpm->{depslist}}) {
+ defined $options{start} && $pkg->id < $options{start} and next;
+ defined $options{end} && $pkg->id > $options{end} and next;
+
if ($pkg->is_arch_compat) {
foreach ($pkg->provides) {
if (my ($n, $evr) = /^([^\s\[]*)(?:\[\*\])?\[?=+\s*([^\s\]]*)/) {
diff --git a/perl-URPM.spec b/perl-URPM.spec
index e3488d4..e74dddb 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,7 +1,7 @@
%define name perl-URPM
%define real_name URPM
%define version 0.70
-%define release 7mdk
+%define release 8mdk
%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
@@ -49,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Sep 2 2002 François Pons <fpons@mandrakesoft.com> 0.70-8mdk
+- added start and end options to request_packages_to_upgrade
+ for DrakX to choose updated packages to upgrade.
+
* Fri Aug 30 2002 François Pons <fpons@mandrakesoft.com> 0.70-7mdk
- fixed the fix of split of package (5mdk).