aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Package
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2007-06-13 05:58:34 +0000
committerGustavo De Nardin <spuk@mandriva.org>2007-06-13 05:58:34 +0000
commita4d4e62a70d6b45dd3256c855f38ab98d4dc03cd (patch)
tree938673986e5afcbcbdcbe1d1c3149fccefa99a8e /lib/Youri/Package
parent158acfca81619a3c2e7ba5c3842d8f9e0420a8a5 (diff)
downloadmga-youri-core-a4d4e62a70d6b45dd3256c855f38ab98d4dc03cd.tar
mga-youri-core-a4d4e62a70d6b45dd3256c855f38ab98d4dc03cd.tar.gz
mga-youri-core-a4d4e62a70d6b45dd3256c855f38ab98d4dc03cd.tar.bz2
mga-youri-core-a4d4e62a70d6b45dd3256c855f38ab98d4dc03cd.tar.xz
mga-youri-core-a4d4e62a70d6b45dd3256c855f38ab98d4dc03cd.zip
more precise definition of debug package
Diffstat (limited to 'lib/Youri/Package')
-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;