summaryrefslogtreecommitdiff
path: root/Build.pm
diff options
context:
space:
mode:
authorMichael Schröder <mls@suse.de>2008-06-06 15:26:19 +0000
committerMichael Schröder <mls@suse.de>2008-06-06 15:26:19 +0000
commit45297c0beb88657100035e75a55e6fa4f38817d2 (patch)
tree216ba1fb682c9df06b140f3163da9c1ffb67fb05 /Build.pm
parent70be572e61f0d993d41819e750eaf938dab51786 (diff)
downloadobs-build-45297c0beb88657100035e75a55e6fa4f38817d2.tar.gz
obs-build-45297c0beb88657100035e75a55e6fa4f38817d2.tar.bz2
obs-build-45297c0beb88657100035e75a55e6fa4f38817d2.zip
- support %kernel_module_package_buildreq in sles10
- update sl11.0 config - support exportfilter
Diffstat (limited to 'Build.pm')
-rw-r--r--Build.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build.pm b/Build.pm
index 372ce8f..1906564 100644
--- a/Build.pm
+++ b/Build.pm
@@ -145,6 +145,7 @@ sub read_config {
$config->{'substitute_vers'} = {};
$config->{'optflags'} = {};
$config->{'order'} = {};
+ $config->{'exportfilter'} = {};
$config->{'rawmacros'} = '';
$config->{'release'} = '<CI_CNT>.<B_CNT>';
$config->{'repotype'} = [];
@@ -186,6 +187,10 @@ sub read_config {
} else {
$config->{'substitute'}->{$ll} = [ @l ];
}
+ } elsif ($l0 eq 'exportfilter:') {
+ next unless @l;
+ $ll = shift @l;
+ $config->{'exportfilter'}->{$ll} = [ @l ];
} elsif ($l0 eq 'optflags:') {
next unless @l;
$ll = shift @l;