diff --git a/pungi/phases/gather/methods/method_nodeps.py b/pungi/phases/gather/methods/method_nodeps.py index 61ca40ff..cd625047 100644 --- a/pungi/phases/gather/methods/method_nodeps.py +++ b/pungi/phases/gather/methods/method_nodeps.py @@ -79,7 +79,8 @@ class GatherMethodNodeps(pungi.phases.gather.method.GatherMethodBase): if isinstance(gathered_pkg, six.string_types) and not re.match( gathered_pkg.replace(".", "\\.") .replace("+", "\\+") - .replace("*", ".*"), + .replace("*", ".*") + + "$", pkg.name, ): continue