aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-20 11:05:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-20 11:05:14 +0000
commit98ee250d58af758552ba7ad93aefde0ca171f665 (patch)
tree17993b1b95304296dce609a1e22f7c036b6db0e3
parent7d2474be7e1ee6f78fae20b8bf90e71f3336cf17 (diff)
downloadperl-URPM-98ee250d58af758552ba7ad93aefde0ca171f665.tar
perl-URPM-98ee250d58af758552ba7ad93aefde0ca171f665.tar.gz
perl-URPM-98ee250d58af758552ba7ad93aefde0ca171f665.tar.bz2
perl-URPM-98ee250d58af758552ba7ad93aefde0ca171f665.tar.xz
perl-URPM-98ee250d58af758552ba7ad93aefde0ca171f665.zip
perl_checker fixes (syntax only)
-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 adb12b9..0e6041b 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -97,7 +97,7 @@ sub resolve_closure_ask_remove {
closure => { $from => $why },
};
- my @removes = ($pkg);
+ my @removes = $pkg;
while ($pkg = shift @removes) {
#- clean state according to provided properties.
foreach ($pkg->provides) {
@@ -294,7 +294,7 @@ sub resolve_requested {
$state->{selected}{$pkg->id} = delete $requested->{$dep};
$options{no_flag_update} or
- $state->{selected}{$pkg->id} ? $pkg->set_flag_requested : $pkg->set_flag_required;
+ ($state->{selected}{$pkg->id} ? $pkg->set_flag_requested : $pkg->set_flag_required);
#- check if package is not already installed before trying to use it, compute
#- obsoleted package too. this is valable only for non source package.
diff --git a/perl-URPM.spec b/perl-URPM.spec
index ea63bc1..94271a6 100644
--- a/perl-URPM.spec
+++ b/perl-URPM.spec
@@ -1,7 +1,7 @@
%define name perl-URPM
%define real_name URPM
%define version 0.81
-%define release 3mdk
+%define release 4mdk
%{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)}
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Dec 20 2002 Pixel <pixel@mandrakesoft.com> 0.81-4mdk
+- perl_checker fixes (syntax only)
+
* Wed Dec 18 2002 Pixel <pixel@mandrakesoft.com> 0.81-3mdk
- help perl_checker recognise packages used as classes