aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-07-27 23:05:12 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-07-27 23:05:12 +0200
commit0b8dadccaaf22eef632d80a1e994801efd754d5b (patch)
treea2b9b07f21ac64f03ed0f556e021d0fc6af5d389
parent89487341b6703b6e4321bfdb054695ac3484067e (diff)
downloadmga-youri-core-0b8dadccaaf22eef632d80a1e994801efd754d5b.tar
mga-youri-core-0b8dadccaaf22eef632d80a1e994801efd754d5b.tar.gz
mga-youri-core-0b8dadccaaf22eef632d80a1e994801efd754d5b.tar.bz2
mga-youri-core-0b8dadccaaf22eef632d80a1e994801efd754d5b.tar.xz
mga-youri-core-0b8dadccaaf22eef632d80a1e994801efd754d5b.zip
Add support for debugsource packages, tks to tmbHEADmaster
-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 {