aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2013-01-01 12:26:47 +0000
committerThomas Backlund <tmb@mageia.org>2013-01-01 12:26:47 +0000
commitd828e56d78915f8d39d907e974f175acf8bbe4e1 (patch)
tree7e4263aa21c2f1343eb616e8a361e9b8c8f20af2
parent3eccc4387e375630a5f3b89b9ce9c25e0035d566 (diff)
downloadmga-youri-core-d828e56d78915f8d39d907e974f175acf8bbe4e1.tar
mga-youri-core-d828e56d78915f8d39d907e974f175acf8bbe4e1.tar.gz
mga-youri-core-d828e56d78915f8d39d907e974f175acf8bbe4e1.tar.bz2
mga-youri-core-d828e56d78915f8d39d907e974f175acf8bbe4e1.tar.xz
mga-youri-core-d828e56d78915f8d39d907e974f175acf8bbe4e1.zip
drop unused special casing for kernels, update comment about -debuginfo
-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 c3b8935..da66ec3 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
+ # debug packages' names must end in -debug or -debuginfo
if ($group =~ m,^Development/Debug$, &&
- ($name =~ /-debug$/o || $name =~ /-debuginfo$/o || $name =~ /^kernel-.*-debug/o)) {
+ ($name =~ /-debug$/o || $name =~ /-debuginfo$/o)) {
return 1;
}
else {