diff options
-rw-r--r-- | lib/Youri/Package/RPM.pm | 2 |
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; |