diff options
author | Francois Pons <fpons@mandriva.com> | 2002-09-02 14:46:00 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-09-02 14:46:00 +0000 |
commit | 189f5c8198ea8d25f18c4afb9b804daa6ff3ea05 (patch) | |
tree | 7788123cf6ccae810b7212217f1ccb75a697c081 | |
parent | a9799b0b67f83d098922df26bdee640e0a76bccf (diff) | |
download | perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar.gz perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar.bz2 perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.tar.xz perl-URPM-189f5c8198ea8d25f18c4afb9b804daa6ff3ea05.zip |
0.70-8mdk
-rw-r--r-- | URPM/Resolve.pm | 3 | ||||
-rw-r--r-- | perl-URPM.spec | 6 |
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). |