aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-14 13:07:05 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-14 13:07:05 +0000
commitb754d20b70bc9734b7471dd7aeafc73c038d7d5a (patch)
treeab004df96143d58e627c3e057a460003a07f7d9a
parentf0d6ed41470c018f5515d85969478866056a2b62 (diff)
downloadperl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar.gz
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar.bz2
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.tar.xz
perl-URPM-b754d20b70bc9734b7471dd7aeafc73c038d7d5a.zip
0.82-2mdk
-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.