From d828e56d78915f8d39d907e974f175acf8bbe4e1 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 1 Jan 2013 12:26:47 +0000 Subject: drop unused special casing for kernels, update comment about -debuginfo --- lib/Youri/Package/RPM.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Youri') 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 { -- cgit v1.2.1