diff options
author | Thomas Backlund <tmb@mageia.org> | 2013-01-01 12:26:47 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2013-01-01 12:26:47 +0000 |
commit | d828e56d78915f8d39d907e974f175acf8bbe4e1 (patch) | |
tree | 7e4263aa21c2f1343eb616e8a361e9b8c8f20af2 /lib/Youri | |
parent | 3eccc4387e375630a5f3b89b9ce9c25e0035d566 (diff) | |
download | mga-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
Diffstat (limited to 'lib/Youri')
-rw-r--r-- | lib/Youri/Package/RPM.pm | 4 |
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 { |