From 45297c0beb88657100035e75a55e6fa4f38817d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Fri, 6 Jun 2008 15:26:19 +0000 Subject: - support %kernel_module_package_buildreq in sles10 - update sl11.0 config - support exportfilter --- Build.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Build.pm') 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'} = '.'; $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; -- cgit v1.2.3