projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22dd765
)
support NAMESPACE_OTHERPROVIDERS in testcase writer
author
Michael Schroeder
<mls@suse.de>
Wed, 21 May 2014 14:21:15 +0000
(16:21 +0200)
committer
Michael Schroeder
<mls@suse.de>
Wed, 21 May 2014 14:21:15 +0000
(16:21 +0200)
zypp/solver/detail/Testcase.cc
patch
|
blob
|
history
diff --git
a/zypp/solver/detail/Testcase.cc
b/zypp/solver/detail/Testcase.cc
index
6ac6002
..
c25ebab
100644
(file)
--- a/
zypp/solver/detail/Testcase.cc
+++ b/
zypp/solver/detail/Testcase.cc
@@
-120,6
+120,10
@@
std::string helixXML( const Capability &cap )
str << "<dep name='packageand("
<< IdString(detail.lhs().id()) << ":"
<< IdString(detail.rhs().id()) << ")' />" << endl;
+ } else if (detail.capRel() == CapDetail::CAP_NAMESPACE
+ && detail.lhs().id() == NAMESPACE_OTHERPROVIDERS) {
+ str << "<dep name='otherproviders("
+ << IdString(detail.rhs().id()) << ")' />" << endl;
} else {
// modalias ?
IdString packageName;