Test #7893
closedTest copy with modular packages name-shadowing nonmodular packages
Description
Ticket moved to GitHub: "pulp/pulp_rpm/2259":https://github.com/pulp/pulp_rpm/issues/2259
When a module includes a source RPM artifact as well as a transitive dependency with the same name, both the transitive dependency and all modular artifacts (including the source RPM if available) should be copied.
More details: https://bugzilla.redhat.com/show_bug.cgi?id=1809314
We should generalize this with non-source packages as well. This is one of the problems with the Perl package, as it has both a nonmodular and modular version. As the modular version is not a default, we should ensure that the nonmodular version is copied and that the modular version isn't used to satisfy the dependency.
It's arguably OK if the modular version is copied also, so long as the nonmodular version is copied.