aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-03-24 22:46:08 +0000
committerPascal Terjan <pterjan@mageia.org>2011-03-24 22:46:08 +0000
commitac15a2ea10bb5ccdcbe7aad4a12f5d8fe2a44878 (patch)
treeea6f773d1edf083cd1f756e904675345f3a067ac /modules
parentc466bcbdd7034d35ce3c45467fe6be488f20575f (diff)
downloadpuppet-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')
-rw-r--r--modules/buildsystem/files/Mageia.pm2
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"
}