Skip to content

Commit f7d979e

Browse files
committed
Also delete files from the moves hash
Fixes issue openSUSE#1010
1 parent 3f09c30 commit f7d979e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mkbaselibs

+4-1
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,10 @@ sub handle_rpms {
611611
}
612612
}
613613
} elsif (substr($r, 0, 1) eq '-') {
614-
delete $files{$_} for grep {/$rr/} keys %files;
614+
for (grep {/$rr/} keys %files) {
615+
delete $files{$_};
616+
delete $moves{$_};
617+
}
615618
} elsif (substr($r, 0, 1) eq '"') {
616619
$rr =~ s/\"$//;
617620
if ($rr =~ /^(.*?)\s*->\s*(.*?)$/) {

0 commit comments

Comments
 (0)