From bf22f2dc94fdcb61b57805d3ab6decc0b3931ded Mon Sep 17 00:00:00 2001 From: Stefan Schubert Date: Fri, 25 Aug 2006 12:35:59 +0000 Subject: [PATCH] install_packages returns SUGGESTED package too. Bug 201476 --- package/libzypp.changes | 6 ++++++ zypp/detail/PatternImplIf.cc | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package/libzypp.changes b/package/libzypp.changes index 856a84a..b0a2a6b 100644 --- a/package/libzypp.changes +++ b/package/libzypp.changes @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Aug 25 14:32:07 CEST 2006 - schubi@suse.de + +- zyppPattern->install_packages returns SUGGESTED package too. + Bug 201476 + +------------------------------------------------------------------- Fri Aug 25 13:05:33 CEST 2006 - schubi@suse.de - New behaviour in the solver: try with 'best' package first, try with 'all' diff --git a/zypp/detail/PatternImplIf.cc b/zypp/detail/PatternImplIf.cc index 01396c3..a8fc19c 100644 --- a/zypp/detail/PatternImplIf.cc +++ b/zypp/detail/PatternImplIf.cc @@ -55,7 +55,8 @@ namespace zypp copycaps( result, self()->dep( Dep::REQUIRES ) ); copycaps( result, self()->dep( Dep::RECOMMENDS) ); - + copycaps( result, self()->dep( Dep::SUGGESTS) ); + return result; } -- 2.7.4