From 3eccc4387e375630a5f3b89b9ce9c25e0035d566 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 1 Jan 2013 11:47:25 +0000 Subject: match -debuginfo packages too for debug media --- lib/Youri/Package/RPM.pm | 4 ++-- 1 file 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 { -- cgit v1.2.1