diff --git a/Build/Docker.pm b/Build/Docker.pm index 62c8ce139..c792fc5e6 100644 --- a/Build/Docker.pm +++ b/Build/Docker.pm @@ -258,6 +258,9 @@ sub parse { if ($line =~ /^#!BuildRelease:\s*(\S+)\s*$/) { $ret->{'release'} = $1; } + if ($line =~ /^#!BuildConstraint:\s*(\S.+?)\s*$/) { + push @{$ret->{'buildconstraint'}}, $1; + } if ($line =~ /^#!UnorderedRepos\s*$/) { $unorderedrepos = 1; }