diff options
-rw-r--r-- | lib/Youri/Package/RPM.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Package/RPM.pm b/lib/Youri/Package/RPM.pm index 1f72830..c3b8935 100644 --- a/lib/Youri/Package/RPM.pm +++ b/lib/Youri/Package/RPM.pm @@ -45,9 +45,9 @@ sub is_debug { my $name = $self->get_name(); my $group = $self->get_tag('group'); - # debug packages' names must end in -debug, except kernel + # debug packages' names must end in -debug if ($group =~ m,^Development/Debug$, && - ($name =~ /-debug$/o || $name =~ /^kernel-.*-debug/o)) { + ($name =~ /-debug$/o || $name =~ /-debuginfo$/o || $name =~ /^kernel-.*-debug/o)) { return 1; } else { |