aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Package/RPM.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Package/RPM.pm b/lib/Youri/Package/RPM.pm
index da66ec3..fa5064d 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 or -debuginfo
+ # debug packages' names must end in -debug or -debuginfo or -debugsource
if ($group =~ m,^Development/Debug$, &&
- ($name =~ /-debug$/o || $name =~ /-debuginfo$/o)) {
+ ($name =~ /-debug$/o || $name =~ /-debuginfo$/o || $name =~ /-debugsource$/o)) {
return 1;
}
else {