Skip to content

Commit

Permalink
catch ForceMultiVersion case insensitive as we do elsewhere
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Oct 15, 2020
1 parent 60f844e commit 0128799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build/Rpm.pm
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ sub parse {
if (@subpacks && $preamble && exists($ret->{'version'}) && $line =~ /^Version\s*:\s*(\S+)/i) {
$ret->{'multiversion'} = 1 if $ret->{'version'} ne $1;
}
if ($preamble && $line =~ /^\#\!ForceMultiVersion\s*$/) {
if ($preamble && $line =~ /^\#\!ForceMultiVersion\s*$/i) {
$ret->{'multiversion'} = 1;
}
if ($line =~ /^(?:Requires\(pre\)|Requires\(post\)|PreReq)\s*:\s*(\S.*)$/i) {
Expand Down

0 comments on commit 0128799

Please sign in to comment.