X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=blobdiff_plain;f=bin%2Fwanna-build;h=6845901f17ad360e79e793d4df690732b9a20cc7;hp=5e84b6af0e57c80af7e699a05bc10c035eaee965;hb=9b315fcde020ff11f6b29fd3d444a9e272b0e2c0;hpb=a754de844e18fc87a5a2902cf143cf7911703f24 diff --git a/bin/wanna-build b/bin/wanna-build index 5e84b6a..6845901 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -2153,7 +2153,8 @@ sub parse_all_v3 { # does at least one binary exist in the database and is more recent - if so, we're probably just outdated, ignore the source package for my $bin (@{$pkgs->{'binary'}}) { - if ($binary->{$bin} and vercmp($pkgs->{'version'}, $binary->{$bin}->{'version'}) < 0) { + if ($binary->{$bin} and $binary->{$bin}->{'arch'} ne 'all' and vercmp($pkgs->{'version'}, $binary->{$bin}->{'version'}) < 0) { + print Dumper($binary->{$bin}) . "\n"; print "$logstr skipped because binaries (assumed to be) overwritten (" . $bin . ", " . $pkgs->{'version'} . " vs. " . $binary->{$bin}->{'version'} . ")\n" if $verbose || $simulate; next SRCS;