diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-03-24 22:46:08 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-03-24 22:46:08 +0000 |
commit | ac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878 (patch) | |
tree | ea6f773d1edf083cd1f756e904675345f3a067ac /modules/buildsystem/files/Mageia.pm | |
parent | c466bcbdd7034d35ce3c45467fe6be488f20575f (diff) | |
download | puppet-ac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878.tar puppet-ac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878.tar.gz puppet-ac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878.tar.bz2 puppet-ac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878.tar.xz puppet-ac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878.zip |
is_debug gives yes on src packages named *-debug
Diffstat (limited to 'modules/buildsystem/files/Mageia.pm')
-rw-r--r-- | modules/buildsystem/files/Mageia.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/buildsystem/files/Mageia.pm b/modules/buildsystem/files/Mageia.pm index 509efa7c..1bedd612 100644 --- a/modules/buildsystem/files/Mageia.pm +++ b/modules/buildsystem/files/Mageia.pm @@ -320,7 +320,7 @@ sub _get_section { print "Section undefined, repository says it is '$section' for '$file'\n" if $self->{_verbose}; } # FIXME: use debug_for info - if ($section && $section !~ m|debug/| && $package->is_debug()) { + if ($section && $section !~ m|debug/| && $arch ne 'src' && $package->is_debug()) { $section = "debug/$section" } |