From 0b8dadccaaf22eef632d80a1e994801efd754d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Thu, 27 Jul 2017 23:05:12 +0200 Subject: Add support for debugsource packages, tks to tmb --- 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 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 { -- cgit v1.2.1