From 9da4da7138e8ea27730db275f8b18ac084252115 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 27 Sep 2007 16:23:56 +0000 Subject: with perl-URPM 2.04, promote on obsoletes are properly handled --- t/superuser--split-transactions--strict-require-and-obsolete.t | 4 ++-- urpm.pm | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/t/superuser--split-transactions--strict-require-and-obsolete.t b/t/superuser--split-transactions--strict-require-and-obsolete.t index c2e2fcd9..0f8df7b5 100644 --- a/t/superuser--split-transactions--strict-require-and-obsolete.t +++ b/t/superuser--split-transactions--strict-require-and-obsolete.t @@ -41,7 +41,7 @@ sub test_c { urpmi("--media $name-1 --auto a"); check_installed_fullnames('a-1-1', 'bb-1-1', 'c-1-1'); - #- WARNING: below would need the promotion of "b" (obsoleting bb) to work + #- below need the promotion of "b" (obsoleting bb) to work urpmi("--media $name-2 $option --auto c"); - check_installed_fullnames_and_remove('c-2-1'); # a and bb are removed + check_installed_fullnames_and_remove('a-1-1', 'b-2-1', 'c-2-1'); } diff --git a/urpm.pm b/urpm.pm index 8e48b543..b1ebfb76 100644 --- a/urpm.pm +++ b/urpm.pm @@ -32,6 +32,7 @@ sub new { # from URPM depslist => [], provides => {}, + obsoletes => {}, media => undef, options => {}, -- cgit v1.2.1