aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm4
-rw-r--r--perl-URPM.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index b69c844..7624254 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -660,7 +660,7 @@ sub compute_skip_flags {
if (grep { exists($skip->{$_}{''}) && /^\/(.*)\/$/ && $pkg->fullname =~ /$1/ } keys %$skip) {
#- a single selection on fullname using a regular expression.
unless ($pkg->flag_skip) {
- $pkg->set_flag_skip;
+ $pkg->set_flag_skip(1);
$options{callback} and $options{callback}->($urpm, $pkg, %options);
}
} else {
@@ -670,7 +670,7 @@ sub compute_skip_flags {
foreach my $sn ($n, grep { /^\/(.*)\/$/ && $n =~ /$1/ } keys %$skip) {
foreach (keys %{$skip->{$sn} || {}}) {
if (URPM::ranges_overlap($_, $s) && !$pkg->flag_skip) {
- $pkg->set_flag_skip;
+ $pkg->set_flag_skip(1);
$options{callback} and $options{callback}->($urpm, $pkg, %options);
}
}
diff --git a/perl-URPM.spec b/perl-URPM.spec
index d4cda8e..5a61c40 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,7 +1,7 @@
%define name perl-URPM
%define real_name URPM
%define version 0.82
-%define release 1mdk
+%define release 2mdk
%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Apr 14 2003 François Pons <fpons@mandrakesoft.com> 0.82-2mdk
+- fixed skip flag computation.
+
* Fri Apr 11 2003 François Pons <fpons@mandrakesoft.com> 0.82-1mdk
- added flag skip for each package, added URPM::Package::flag_skip
and URPM::Package::set_flag_skip as well as compute_skip_flags.