http://bugzilla.novell.com/show_bug.cgi?id=614362 http://bugzilla.novell.com/show_bug.cgi?id=614362#c8 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 - Low |P2 - High Status|ASSIGNED |NEEDINFO InfoProvider| |jkupec@novell.com --- Comment #8 from Michael Andres <ma@novell.com> 2010-07-07 15:08:48 CEST --- @Jano: libzypp-7.8.0 offers PoolQuery for name, edition AND architecture in one go. Suggested patch for misc.cc, don't know if there are other locations in zypper too: @@ -462,14 +462,15 @@ pkg_spec_to_poolquery(const Capability & cap, const list<string> & repos) PoolQuery q; q.addKind(splid.kind()); - q.addAttribute(sat::SolvAttr::name, splid.name().asString()); q.setMatchGlob(); for_(it, repos.begin(), repos.end()) q.addRepo(*it); - if (cap.detail().hasArch()) - q.addAttribute(sat::SolvAttr::arch, cap.detail().arch().asString()); - if (cap.detail().isVersioned()) - q.setEdition(cap.detail().ed(), cap.detail().op()); + addDependency( sat::SolvAttr::name, + // only package names (no provides) + cap.detail().op(), cap.detail().ed(), + // defaults to Rel::ANY (NOOP) if no versioned cap + Arch( cap.detail().arch() ) ); + // defaults Arch_empty (NOOP) if no arch in cap DBG << "query: " << q << endl; -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.