diff options
-rw-r--r-- | qarepo.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -547,7 +547,7 @@ sub sync_repo { my $pattern = wildcard_to_regexp($request); my $matched = 0; foreach my $candidate (keys %rpm_dependencies) { - if ($candidate =~ /^$pattern/) { + if ($candidate =~ /^($pattern)((\.($arch|noarch))?\.rpm)?$/) { $selection{$candidate} = 1; $selection{$_} ||= 2 foreach keys %{$rpm_dependencies{$candidate}}; $matched = 1; |