aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Package/RPM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Package/RPM.pm b/lib/Youri/Package/RPM.pm
index bb87f38..fc85db0 100644
--- a/lib/Youri/Package/RPM.pm
+++ b/lib/Youri/Package/RPM.pm
@@ -42,7 +42,7 @@ sub is_debug {
my ($self) = @_;
croak "Not a class method" unless ref $self;
- return $self->get_name() =~ /-debug$/o;
+ return $self->get_name() =~ /-debug$/o && $self->get_tag('group') =~ m,^Development/Debug$,;
}
1;