- support publishfilter
authorMichael Schröder <mls@suse.de>
Sat, 7 Jun 2008 11:00:59 +0000 (11:00 +0000)
committerMichael Schröder <mls@suse.de>
Sat, 7 Jun 2008 11:00:59 +0000 (11:00 +0000)
Build.pm

index 1906564..3726b58 100644 (file)
--- a/Build.pm
+++ b/Build.pm
@@ -146,6 +146,7 @@ sub read_config {
   $config->{'optflags'} = {};
   $config->{'order'} = {};
   $config->{'exportfilter'} = {};
+  $config->{'publishfilter'} = [];
   $config->{'rawmacros'} = '';
   $config->{'release'} = '<CI_CNT>.<B_CNT>';
   $config->{'repotype'} = [];
@@ -191,6 +192,8 @@ sub read_config {
       next unless @l;
       $ll = shift @l;
       $config->{'exportfilter'}->{$ll} = [ @l ];
+    } elsif ($l0 eq 'publishfilter:') {
+      $config->{'publishfilter'} = [ @l ];
     } elsif ($l0 eq 'optflags:') {
       next unless @l;
       $ll = shift @l;