diff options
author | Gustavo De Nardin <spuk@mandriva.org> | 2007-06-13 05:58:34 +0000 |
---|---|---|
committer | Gustavo De Nardin <spuk@mandriva.org> | 2007-06-13 05:58:34 +0000 |
commit | a4d4e62a70d6b45dd3256c855f38ab98d4dc03cd (patch) | |
tree | 938673986e5afcbcbdcbe1d1c3149fccefa99a8e /lib | |
parent | 158acfca81619a3c2e7ba5c3842d8f9e0420a8a5 (diff) | |
download | mga-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')
-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; |